Devs fail to see how their data is connected and model it too discretely. As those connections appear, it is easier to synchronize than refactor the model. 1/
Devs fail to see how their data is connected and model it too discretely. As those connections appear, it is easier to synchronize than refactor the model. 1/
Learn how Suspense, transitions, and optimistic updates work in React with core team member @ricky.fm.
Details:
Learn how Suspense, transitions, and optimistic updates work in React with core team member @ricky.fm.
Details:
they’re syntactically attached to the scope (function or module) in a way that’s reflected in AST.
and both RSC and Next.js ones act at module boundary which is kinda gross for decorators or API calls
they’re syntactically attached to the scope (function or module) in a way that’s reflected in AST.
and both RSC and Next.js ones act at module boundary which is kinda gross for decorators or API calls
It allowed you to add "use asm" directives to functions and runtimes would compile them to binary. It was ahead of its time, but was criticized as forking JavaScript syntax and creating vendor lock in for Firefox.
It became WebAssembly.
It allowed you to add "use asm" directives to functions and runtimes would compile them to binary. It was ahead of its time, but was criticized as forking JavaScript syntax and creating vendor lock in for Firefox.
It became WebAssembly.
For React devs, the closest analog is the new Activity API. There are pros/cons of each - for example with Activity you kinda have to do some ceremony to pre-render on hover, and this fork() API makes that a bit easier, but I think Activity covers more use cases.
- docs svelte.dev/docs/svelte/...
- demo svelte.dev/playground/a...
For React devs, the closest analog is the new Activity API. There are pros/cons of each - for example with Activity you kinda have to do some ceremony to pre-render on hover, and this fork() API makes that a bit easier, but I think Activity covers more use cases.
I didn’t go into the sync example much, but if you do, you find yourself having to use a bunch of refs and effects just to get a semi good experience.
There are no refs or effects with async react features.
I didn’t go into the sync example much, but if you do, you find yourself having to use a bunch of refs and effects just to get a semi good experience.
There are no refs or effects with async react features.
We decided to ship it with all the constraints, because it’s useful even when constrained, but I’m still hoping for a general solution.
We decided to ship it with all the constraints, because it’s useful even when constrained, but I’m still hoping for a general solution.
Hide a React subtree and unmount its Effects while preserving its state, and keep rendering it with lower priority.
Unlocks very exciting pre-rendering patterns along the way!
More Activity modes are coming
Hide a React subtree and unmount its Effects while preserving its state, and keep rendering it with lower priority.
Unlocks very exciting pre-rendering patterns along the way!
More Activity modes are coming