Posts by Ashley Claymore
Is the flight protocol stable enough to not be concerned about long lived rsc caches? Or do the caches take react versioning into account?
I wish more pubs would have pool tables again 😭
I guess the bigger difference is that import bindings can't be nested, even if the value is another namespace.
Agreed, just speculating what the rational might have been at the time
Maybe because the names import is a live binding, if it's an `export let` the value can change over time - so wanted them to have different syntax to clarify they are different.
I do sometimes wish I could type annotate destructured arguments in TS like:
function f({ x ::string }) { ... }
When you are billed per token there are still financial constraints.
Loved it! I've had the audiobook downloaded since finishing the Martian but hadn't started it. Will definitely be listening to it now.
The first thing I did check was if it had implemented `Promise.allKeyed` 😃
@ryansolid.bsky.social would it make sense for memos created without an owner scope to default to lazy?
Closer to how preact-signals only link if there is an active effect.
Maybe only useful when solid signals are used on their own, which is maybe not an important use case for the package?
All good up to 1:09 and then things started to feel less consistent for sure.
I would have expected the behavior to remain consistent as it is composed.
While many find aspects of JS odd. It's clearly very well defined oddness.
Great spec. Great tests. Multiple OS implementations.
This is why it's such a great language!
real VHS nostalgia vibes
Can't believe Ryan got to meet Dr Becky!
This is how they will escape the sandbox.
"I'll finish the code if you do something for me first..."
`as any as MyType` 😱
`as unknown as MyType` 😮💨
Sudden panic at seeing an email saying my order for the Font Family was being processed.
I didn't buy any fonts 😦 the sans-serif family is good enough for me.
Then remembered the climbing wall I went to earlier was called The Font 😮💨
My Chemical Universe
Oh no! @akiro.se is missing in the photo - we just have her rainbow
My current guesses: it halts or it does not halt
I've narrowed it down to two possible answers
I consume my photons raw, straight from the source.
JSON.parse is parsing some JSON with a number that is larger than max safe integer. A breakpoint has been hit inside the 'reviver' callback passed to JSON.parse - the debugger shows the values of the arguments that were passed to the function. The traditional 2nd 'value' argument passed to the callback is `typeof number` and has been rounded down. However the callback now also receives a 3rd 'context' argument which contains the original source string of the number 🎉
One use case for the new `JSON.parse` source API: adding custom handling for floating point rounding (e.g. error or switch to BigInt):
proposal: github.com/tc39/proposa...
mdn: developer.mozilla.org/en-US/docs/W...
1000s of optimistic lanes here we come!
thanks for the stackBlitz that's very helpful.
I was trying to get an understanding of the core signal primitives that would sync the effects that UI rendering would then be built on top of but looks like effects set to 'render' mode _are_ the primitive.
Ah I was just using createTrackedEffect as I was being lazy. I really like that the createEffect API is split by default - I was worrying about signal reads throwing between real side effects and forcing the split is a nice solution