Hacker News new | ask | show | jobs
by htunnicliff 558 days ago
One of the best parts of this release:

    ref as a prop: Refs can now be used as props, removing the need for forwardRef.
2 comments

Being able to <Context value={1}> instead of <Context.Provider value={1}> is also a nice, albeit small, QOL change. Feels like they are really honing down the API. Esp once they kill off useMemo and related hooks with the compiler.
Very nice, something I actually care about!