Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
htunnicliff
on Dec 5, 2024
|
parent
|
context
|
favorite
| on:
React 19
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
on Dec 5, 2024
|
next
[–]
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.
quasarj
on Dec 6, 2024
|
prev
[–]
Very nice, something I actually care about!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: