Earlier quoted context omitted.
Solid doesn't re-render Components over and over.. so integrating React is as simple as wrapping a `createEffect` calling `React.render` on a ref. The other way around is a bit harder, but been at this for a while here is a codesandbox with a HOC for that: https://codesandbox.io/s/solid-react-hoc-8m2yd If anything there is just so much to document.
Any comment on that storage-changed lib? I think that's a massively underrated abstraction for high level state / comms. I want it to be more popular. :)
Solid – A declarative JavaScript library for building user interfaces
31–40 of 178 posts
Re: Solid – A declarative JavaScript library for building user interfaces
#32There is already a project named Solid led by Tim Berners-Lee: https://solid.mit.edu
[1] https://solidproject.org/for-developers/apps/first-app/4-dat...
Re: Solid – A declarative JavaScript library for building user interfaces
#33Re: Solid – A declarative JavaScript library for building user interfaces
#34Earlier quoted context omitted.
Don't let him get you down, mate. These types of people who like tearing other projects down for the sake of it litter the internet. If you're having fun, keep going. That's all that matters.
> If you're having fun, keep going. That's all that matters. How is it different than what I said?
Re: Solid – A declarative JavaScript library for building user interfaces
#35Now JS libraries advertise themselves based having no VirtualDOM.
Can someone explain this to me?
Re: Solid – A declarative JavaScript library for building user interfaces
#36People loved React because of VirtualDOM. Now JS libraries advertise themselves based having no VirtualDOM. Can someone explain this to me?
Re: Solid – A declarative JavaScript library for building user interfaces
#37Re: Solid – A declarative JavaScript library for building user interfaces
#38People loved React because of VirtualDOM. Now JS libraries advertise themselves based having no VirtualDOM. Can someone explain this to me?
Re: Solid – A declarative JavaScript library for building user interfaces
#39DOM manipulation is expensive, so a check is made to see if it really needs to be done.
If you're guaranteed to need an update, then this check is pointless. But this depends on what you're doing. Its really not something that's tied to the technical identity of any library. React, vue, etc, could probably also skip this step if they wanted.
Also, this will almost never be the bottle neck. It's really low down on a long list of other things that will have a bigger impact. Web dev is in a really bad state - you're supposed to have something like 1.5k nodes according to lighthouse because of all junk that browsers have to do now. That's a puny number of checks for the cpu to do.
Re: Solid – A declarative JavaScript library for building user interfaces
#40People loved React because of VirtualDOM. Now JS libraries advertise themselves based having no VirtualDOM. Can someone explain this to me?
but theses next generation frameworks are showing that there's a better way to solve the same problem.