it effectively means that if SA receives some object and returns the same object within the response, it’s encoded as a reference (“argument number 3”) rather than serialized directly.
“use cache” memoization holes fall out of that
it effectively means that if SA receives some object and returns the same object within the response, it’s encoded as a reference (“argument number 3”) rather than serialized directly.
“use cache” memoization holes fall out of that
This allows React synchronously read the value without waiting on a microtask. This is much faster but it also ensures compat when someone needs flushSync().
Microtasks are bad, mkay.
This allows React synchronously read the value without waiting on a microtask. This is much faster but it also ensures compat when someone needs flushSync().
Microtasks are bad, mkay.
This works in any RSC environment. In fact, this screenshot is running RSC for Parcel. h/t @devongovett.bsky.social
This works in any RSC environment. In fact, this screenshot is running RSC for Parcel. h/t @devongovett.bsky.social
`use cache`, DataLoader combinations make stuff much easier to write and understand.
But there are still part has to be solved such as managing transaction scope or DTO/DAL/Repository layer thing.
`use cache`, DataLoader combinations make stuff much easier to write and understand.
But there are still part has to be solved such as managing transaction scope or DTO/DAL/Repository layer thing.