How is this making the front page of HN? It’s total misinformation. The defacement had nothing to do with the riots themselves. Total BS from a random untrustworthy source.
Right, but the reason it was kept in a hidden field was that it would then go to the server on form submission and the server would persist it across requests, if I recall correctly – haven't done ASP.NET in more than a decade.
Either way, that was a form of hydration itself I suppose, the server would send this state value to the client and the client would hydrate its view to match the state.
I had to scroll down to the bottom to understand what Qwik was, because it suddenly compares it with react, and I know what react is.
“Framework reimagined for the edge”
that does not tell me anything about what Qwik is. It’s not even a proper sentence, is it? A framework for what? Is it software? A methodology? Some device? No clue.
I understand the sentence. My guess is this page is targeting people who understand and need what it is selling. It’s probably not ready for mainstream, so maybe that’s why they use that language? Just a bunch.
The partial decoding is also interesting for another case, I think: polymorphism.
The OneOf implementation in go protobuf is ugly, but this trick could make it bareable.
I'll have to explore further :)
Yep, got bit by this exact behavior too, returning a typed nil error as the error interface.
The check for err == nil said false, although we were returning a nil typed error...
https://codescene.io/projects/30382/jobs/643265/results/code...