About the drawback having to call the signal everywhere, `` can takes a callback as a children. The callback's argument is the signal value. So it remove the extra `()!.` everywhere
This ^. I ran into the same problem. The docs are still a work in progress, but SolidStart is great. To give a very simple example, you can do this which also works great for adding type safety. const users = createAsync(() => getUsers()); return ( {(users) => } ); Great video! Thanks for sharing it.
The beauty of Solid for me as React Developer is its about good old Javascript. While React is about hooks, virtual DOM, and other React only feature, Solid is Vanilla Javascript on steroid for me. If I stuck on something then I just need to think it like in old Javascript
Let me pause the video and like it first. I swear, Ryan is too smart. He always comes up with a remarkable mental modal. It is actually the best mental modal and so easy to reason about. Your video and explanation is beyond amazing also, thank you!
Yes you can specify the loading component in the fallback prop of Suspense. You will however have to change the layout of your page components to be wrapped in suspense as well.
If you will wait for a ecosystem to grow, u wil be stuck in react/next shit forever, vercel will never stop to sell the idea to the front end dev that they need next to a LP
I tried Qwik once, every time I get to test an app, I get the default proyect, execute it and simulate a slow 3G connection, at the moment, when I tried Qwik, the delay after clicking and loading the JS Made me realize that their approach is poorly thought out, great in concept, perhaps in the future when global apps can be accessed from any place of the world with good connections, meanwhile, I can almost bet My life You would throw your phone with those bizarre interactions Note: I tried it about a year ago, maybe Even 2 years ago
2:43 Fan of solid but this part is false, there is a runtime (the library) and it gets compiled down to the library code not just vanilla dom instruction.
To clarify, the compiled code includes necessary solid utilities and helpers. After the components are rendered onto the page, there is no runtime / state update / re-render cycle needed. This is very different from frameworks like react and vue have to ship the state change checking / virtual dom diffing and re-render / update run-times.
About the drawback having to call the signal everywhere, `` can takes a callback as a children. The callback's argument is the signal value. So it remove the extra `()!.` everywhere
This ^. I ran into the same problem. The docs are still a work in progress, but SolidStart is great.
To give a very simple example, you can do this which also works great for adding type safety.
const users = createAsync(() => getUsers());
return (
{(users) => }
);
Great video! Thanks for sharing it.
The beauty of Solid for me as React Developer is its about good old Javascript. While React is about hooks, virtual DOM, and other React only feature, Solid is Vanilla Javascript on steroid for me. If I stuck on something then I just need to think it like in old Javascript
Let me pause the video and like it first.
I swear, Ryan is too smart. He always comes up with a remarkable mental modal.
It is actually the best mental modal and so easy to reason about.
Your video and explanation is beyond amazing also, thank you!
CJ on Syntax?!?!?!?! Woohooo! Didn't know that. Awesome!
He has lots of great videos on the channel now
Awesome! Would love to have the same format and more content on Svelte 5 & SvelteKit :)
CJ loves you missing in coding the garden channel as well. You are the best teacher and a very good person. When I see your face, I feel awesome, man.
Great comparison CJ! More of these when applicable pls. Keep it up sir!
Solid is just so wholesome. I used it for my first big project and I am just in love with it.
I see CJ in the Thumbnail - I click
great video! it would be awesome to have one of these for Svelte 5 + Kit :]
+1 for Svelte content!!
I think you missed the section of stores in the solid docs (?) 🙏
Great video!
looks solid
this guy (and all team member of SynTax) is cool
thanks for the video, What font/theme are you using?
Yeah I'd like to know this as well! What font is that?
Next.js has smart prefetch and can be set manually on router/link
CJ can I use the suspense to create like a loading screen / splash screen while a route is loading for example?
Yes you can specify the loading component in the fallback prop of Suspense. You will however have to change the layout of your page components to be wrapped in suspense as well.
Very good. Solid is definitely better than React!
Awsome. Where were you?
I can't focus on what you say cause the tips of your mustache are moving! hahaha
Seems like it could be a viable solution in a couple years when the API's is stabilized and the ecosystem is a bit more mature.
I think the point of v1.0 is that the API is stable now. I do agree with the ecosystem part.
If you will wait for a ecosystem to grow, u wil be stuck in react/next shit forever, vercel will never stop to sell the idea to the front end dev that they need next to a LP
Can you compare Next and Nuxt?
I never knew cats were good developers :)
Next Link does prefetch by default.
The lack of good documentation and examples makes solidstart and thus solidjs useless, it won't go anywhere until they get hang of it
how about the Qwik - CJ could you please talk about that as well. I guess Qwik is better than any other framework out there
I tried Qwik once, every time I get to test an app, I get the default proyect, execute it and simulate a slow 3G connection, at the moment, when I tried Qwik, the delay after clicking and loading the JS Made me realize that their approach is poorly thought out, great in concept, perhaps in the future when global apps can be accessed from any place of the world with good connections, meanwhile, I can almost bet My life You would throw your phone with those bizarre interactions
Note: I tried it about a year ago, maybe Even 2 years ago
All I can hear is that silly carnival mustache! 😂
second
third
first
grow upboy, nextjs is better than any framework in the world
Which others have you tried?
2:43 Fan of solid but this part is false, there is a runtime (the library) and it gets compiled down to the library code not just vanilla dom instruction.
To clarify, the compiled code includes necessary solid utilities and helpers. After the components are rendered onto the page, there is no runtime / state update / re-render cycle needed. This is very different from frameworks like react and vue have to ship the state change checking / virtual dom diffing and re-render / update run-times.
comments.unshift("first")
I'm first!
(code didnt work)
1st comment please pin me!
(code didn't work)