DEV Community

Discussion on: 3 reasons you should try Svelte

fkrasnowski profile image
Franciszek Krasnowski

React is still terse. But what iscloseInterval? Did you mean clearInterval? And I prefer using custom hooks to encapsulate ”reference fragile” behavior. For example by making useInterval hook or utilize the one from rooks package

pengeszikra profile image
Peter Vivo

you right, clearInterval of course!