4 ms·
One of the best parts of this release: ref as a prop: Refs can now be used as props, removing the need for forwardRef.
by htunnicliff 2y 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.
- terandle 2y agoBeing 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.
- quasarj 2y agoVery nice, something I actually care about!