Ben Holmes@bholmes.dev6 Dec 2024Woah, `ref` as a function is secretly so powerful. No more `undefined` checks and useEffects just to add some document event listeners. Handle everything with a function in-line 👍React@react.devReact v19 is now stable! react.dev/blog/2024/12...react.devReact v19 – ReactThe library for web and native user interfaces1111173
thomas@tefkah.comthat's really nice, has the potential to clean up so much cruft6/12/24, 2:14 pm·0 reposts·2 likes