News for hackers. Stuff that matters.
Re:React-like RxJS-based framework (weird) by asimpledog on Wednesday December 04, 2019 @05:19AM (#21701023)

  import { timer } from 'rxjs';

  function App() {
    const ticks$ = timer(0, 1000);

    return <div>
      <h1>{ ticks$ }</h1>
      <p>seconds passed</p>
    </div>
  }