Need help to convice developers to go to SolidJS

Hello, a little question, currently we want to migrate our React App to Solidjs but we have some developers who don't think the changes is relevant. Can someone have some blogs / testimony about people who have made the changes ? (Ideally how) Thanks !
6 Replies
TaQuanMinhLong
:Worry_Think: like what points do we need to prove so they are convinced?
Mirardes
MirardesOP3d ago
Actually we are at a strategic point that we need to rewrite for performance issue and some of them are not convince about solid and if it is complicate to convert react app to solid
Alex Lohr
Alex Lohr3d ago
Look at a component. How many parts of that code actually need to run again and again every time the state changes? I would say less than 25% in most cases. With React, you usually try to minimize the time spent on this by cutting smaller components, otherwise you get performance issues easily. With Solid, you know that static parts will be rendered once and never touched again until cleanup. Instead of running component functions again, we only run the parts where changes occur. However, this means the underlying mindset is completely different. We do not have hook rules since we do not rely on ref counting, but we have props proxies, so we cannot destructure props, lest we lose their reactivity. In React, useState, useMemo and useEffects are trap doors out of re-running code, whlie in Solid, it is the opposite. Also, we can actually manage state pretty efficiently without external libraries.
DEV Community
The zen of state in Solid.js
Cover image from https://www.pxfuel.com/en/free-photo-jsrnn Solid.js is a frontend framework that is...
peerreynders
peerreynders3d ago
An article was published in early May https://x.com/RyanCarniato/status/1786187018764239049 that now unfortunately is buried behind a redirect. The Internet Archive version is unreadable but fortunately still contains the content. Here is my quick and dirty attempt to recover that content: https://gist.github.com/peerreynders/bf21313b0d5f1c12dac6dfab75945f1a
Ryan Carniato (@RyanCarniato) on X
It's interesting to read from developers at a startup working around the difference in mental model with @solid_js while building a real product. They definitely hit gotchas but came out better for it. I'm happy to see more success cases like this.
Twitter
Gist
Stashpad Blog - A React Developer's Guide to Learning SolidJS
Stashpad Blog - A React Developer's Guide to Learning SolidJS - react-developers-guide-to-solid-js.md
peerreynders
peerreynders3d ago
Medium
From ReactJS to SolidJS
Start using SolidJS in production today
Medium
SolidJS pain points and pitfalls
I will describe various non-obvious aspects of working with SolidJS, as well as inconveniences.
Medium
SolidJS pain points and pitfalls (part 2)
In this article I will continue the conversation about non-obvious aspects of SolidJS that those who have been using SolidJS for a long…
friend_TTs413
friend_TTs4132d ago
I understand that there are some concerns regarding the migration from React to SolidJS. However, I believe it’s important to consider the benefits and insights from other developers who have undergone a similar transition.
Want results from more Discord servers?
Add your server