Grilled Cheese

ExploreLog inSign up
PhotosVideosAllPeople
LatestRanked
@armenvardanyan.devOct 13, 2026, 10:13 AM

Played around a little bit with RxJS v9 and its support of native Observables.

A bit surprising code, but aren't we supposed to not look at the code anymore? 😉

Jokes aside, pretty great how quickly the ecosystem now catches up with the new standards

#RxJS #Angular #WebDev #JavaScript

import 'rxjs';
import { debounce } from 'rxjs/debounce';

search
  .when('input')
  .map((event) => event.target.value.trim())
  .filter((query) => query.length > 2)
  [debounce](300) // only this one comes from RxJS
  .switchMap((query) => fetchResults(query))
  .subscribe(render);
Terms of UsePrivacy PolicyCommunity StandardsHelpGet the app

Grilled Cheese is a product of Village Compute

Version devBuilt at: 2026-10-16 08:00:47 EDT