• aeharding@lemmy.worldOP
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    9 months ago

    Lots of great improvements to look forward to this year!

    • useMemo, useCallback, memo → React Compiler
    • forwardRef → ref is a prop
    • React.lazy → RSC, promise-as-child
    • useContextuse(Context)
    • throw promiseuse(promise)

    Source : tweet by React maintainer Andrew Clark

    Edit: Ugh, lemmy.world ate my HTML. Please upgrade to 0.19 ☹️