why isn’t reanimated api like this? runOnUI(() => { 'worklet' // ... }) i always get confused by it being a curried thing. does anyone know?
finally RE:
when your abstraction is composable but you got the composition laws wrong RE:
realized i started saying “on twitter” referring to the parts i like (that spiritual twitter forks also do) and “on x” to mean the parts i’m not so into
okay folks, what’s the current state-of-the-art Stacked Diffs solution for github that doesn’t suck? i can’t do this manually anymore
if client react was all about Values, server react is all about References. since react functions are projections, often you don’t need to unwrap a value — you just reference it in the output. examples: referencing server code on the client, client code on the server, server code from the cache RE:
this will require quite a bit of polish before we can put it into a release but the thread composer prototype is finally working! huge thanks to @mary🐇 whose monumental exploratory PR provided the basis of this work — there’s absolutely no way we’d get even to this stage by now without it https://morel.us-east.host.bsky.network/xrpc/com.atproto.sync.getBlob?did=did:plc:fpruhuo22xkm5o7ttr2ktxdo&cid=bafkreigdjxoieklxarevlxtotrticouxedcsg5ixoc6bne7cyw5ix5mhfi
this is wild. i love this so much. non-serializable inputs to a cached function (like pieces of JSX with server logic) don’t cause a cache miss because they can only be used transparently (they’re not introspectable so the cached logic couldn’t depend on the actual value anyway) RE:
ok so based on my testing, if Parent has 'use cache' and takes children then children indeed don’t invalidate it <child> {/* more dynamic */} </child> but like HOW?.... i don’t get it
is anyone from the Next.js team on here? wanted to ask some questions about “use cache”