DEV Community

Play Button Pause Button
Fabio Biondi
Fabio Biondi

Posted on

SolidJS #2: state management and custom components

In most of modern front end frameworks When our components have a very complex template, a good practice to organize it is to break it down into additional components.
And SolidJS also works in this way.

But how can we share a state between components?
There are patterns, state managers and SolidJS offer several interesting tools and APIs to handle the problem.

In this video we will create custom components, we will analyze a couple of patterns to share the state between components and we will refactor the application that was created in the first video about Solid.

Source Code:
https://stackblitz.com/edit/vitejs-vite-ln8znw

πŸŽ₯ Watch Part 1: SolidJS Intro in 5 minutes (for React Developers)


πŸ”— Follow me on:

➑️ LinkedIn: https://www.linkedin.com/in/fabiobiondi/
➑️ Twitch: https://www.twitch.tv/fabio_biondi
➑️ Facebook (italian): https://www.facebook.com/groups/fabio...

Discussion (0)