DEV Community

0 seconds of 6 minutes, 59 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
06:59
 
Fabio Biondi
Fabio Biondi

Posted on

2 1

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...

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay