Live data from Hacker News

Viewing profile — ryansolid

ryansolid

HN member
Joined
Mon, Feb 04, 2019, 6:54 AM UTC
HN karma
510
Public activity
169 items

About ryansolid

JavaScript performance enthusiast and fine-grained reactivity super fan. Works on Marko at eBay. Author of the SolidJS. .

Recent public activity

  1. comment
    Comment #43777200

    Yeah it is an interesting one. There is definitely a slowdown due to the amount of wrapping that happens. These sort of libraries tend to put component in component in component et…

  2. comment
    Comment #43775427

    Thank you for correcting this. I was going to come and respond when I saw this earlier but hadn't had a chance. Yes the annoying part is not being able to destructure but you defin…

  3. comment
    Comment #43775406

    To be fair by that metric Vue has the fastest now with its core built with Alien Signals. Raw reactivity benchmarks don't actually show very much because these systems are so fast …

  4. comment
    Comment #43772756

    It isn't necessary. Solid has a similar custom renderer, with Pixi, three.js, terminal, etc... integrations. Solid is actually used a lot in embedded applications since it is low m…

  5. comment
    Comment #43769579

    I'm curious which part of laziness are you concerned with? Is it delayed execution in events? It is just most lazy things run almost immediately during creation anyway, and on upda…

  6. comment
    Comment #43769518

    Ironically, mechanically Vue and Svelte historically were much closer to React. Vue has a similar VDOM and Svelte while compiled still had a rerun component model. It was only the …

  7. comment
    Comment #43769460

    I wonder how long by comparison you would have had to wait for React to fix a bug of that nature. Obviously no comparison on maturity given difference of user base size, especially…

  8. comment
    Comment #43769416

    Low Commit count suggests nothing other than maybe lower traffic. I've been able to keep issues the main repo under 50 issues most of its life. I admit work towards the next major …

  9. story
  10. comment
    Comment #32401986

    So excited for this. SSR with Astro is a gamechanger which opens up its usage to so many different avenues. Great strides with framework interop too. Named Slots really closing the…

  11. comment
    Comment #31103889

    Yeah RSCs are another approach I'd say that are playing with these sort of approaches. Other notables include: Marko: https://www.markojs.com Astro: https://astro.build

  12. comment
    Comment #31021421

    So excited to see what you all have done here. trueadm is the creator of Inferno, and has a great eye for performance. Can't wait to dig in.

  13. comment
    Comment #30520719

    It does. Just referential check. Our reactivity is nested and we don't want blow out everything so even though there is read/write segregation and immutable interfaces the internal…

  14. comment
    Comment #30516324

    It can't. Not in a consistent manner. When diffing user provided immutable data you need a user provided key. Otherwise it can't tell the difference between a new list entry and a …

  15. comment
    Comment #30516005

    But those dependencies would be static. This goes beyond that. I won't call hooks flawed, they are suitable for React's model, but looking at what reactivity does is a different so…

  16. comment
    Comment #30511967

    Mostly except there is no VDOM, the reactivity applies right down to the DOM binding. And it predates Hooks and Vue's Composition API.

  17. comment
    Comment #30511513

    Yep. Looks sort of like the Solid example in the article. It's basically my auto-response to Svelte syntax. Once you do anything in Svelte it is more or less the same thing. Just d…

  18. comment
    Comment #30511400

    Or Vue either to be fair. Similar rules in the Vue's setup function. It's how reactivity works in JavaScript. Basically don't destructure or access values out of of primitives or J…

  19. comment
    Comment #30510881

    There are a lot of React state libraries that do similar things with Proxies. I think the part that is not as emphasized is how that reactivity extends to the view. Instead of re-r…

  20. comment
    Comment #30510644

    What does a reusable (ie import from another file) `useAutoCounter` look like in Svelte?

  21. comment
    Comment #30510023

    I'd also look at other repos. Admittedly for the core code it has been mostly me. I think there is an intimidation factor. When you create a library this performance oriented it is…

  22. comment
    Comment #30509974

    Yeah this is correct. The trick to this is that the subscriptions happen in our JSX and hooks. And really is just a nested tree of `createEffects` if one ever re-evaluates or is di…

  23. comment
    Comment #29399021

    Reactivity like this predates React Hooks. It doesn't have the hook rules/stale closures etc... No dependency arrays, useRef, or useCallback. It's a very powerful model and very di…

  24. comment
    Comment #29395037

    This is the article series for you (I wrote it so I'm biased): https://dev.to/ryansolid/a-hands-on-introduction-to-fine-gra...

  25. comment
    Comment #29394446

    More than likely it's the lazy loading of the REPL. Those code editors are heavy and when they scroll into view they need to load. If we load up front it would drastically tank the…