State management with Preact Signals - Getting started with the new package [2022] (Preact/React)

  Рет қаралды 6,999

Coding with Robby

Coding with Robby

Күн бұрын

Пікірлер
@bufootballa
@bufootballa 2 жыл бұрын
Excellent first look at signals! Just randomly found your channel and subscribed after watching. Good luck with the channel as you have an excellent way of explaining while you code through things! Can't wait to see more of your content!
@codingwithrobby
@codingwithrobby 2 жыл бұрын
Appreciate the kind words!
@AtRiskMedia
@AtRiskMedia 10 ай бұрын
great vid. (i had to shield my eyes from the light mode tho). more preact + signals content would be awesome
@ivansativ5450
@ivansativ5450 Жыл бұрын
this is neat how-to video, I'd appreciate if you'd compare the performance to a signal-less React app of the same structure as the motivation of using signals is performance improvements
@MarkConstable
@MarkConstable Жыл бұрын
Preact + signals in Fresh Deno would be great.
@meherajsheikh4488
@meherajsheikh4488 2 жыл бұрын
Please make a video on pre-rendering & serviceWorkers & ssg & ssr in preact....thank you
@MrBl0m
@MrBl0m 2 жыл бұрын
Also thank you for the video :) . Can you please share your vs code plugins for the auto import thank you
@RasmusSchultz
@RasmusSchultz 2 жыл бұрын
15:05 something is wrong here - notice the count on the console? I think you're scheduling another effect with every change, like they're stacking up and never get cleaned up...?
@codingwithrobby
@codingwithrobby 2 жыл бұрын
Good catch. I'm guessing that it's triggering twice because of the useComputed, but this is definitely something I should look into.
@MrGarkin
@MrGarkin 2 жыл бұрын
​@@codingwithrobby it triggers extra time on each render. In the end it's actually called 8 times pre click. Don't call `effect()` inside render function directly. Wrap it using hooks API and don't forget to dispose correctly.
@omereker8824
@omereker8824 2 жыл бұрын
I dont know if there is a strict mode on preact like react has, but it might be rendering twice because of that
@MrBl0m
@MrBl0m 2 жыл бұрын
why use it as a local state instead of useState ?
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 489 М.
React Signals tutorial - practical guide
26:55
Code with Ahsan
Рет қаралды 6 М.
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 13 МЛН
Чистка воды совком от денег
00:32
FD Vasya
Рет қаралды 4,4 МЛН
From Small To Giant 0%🍫 VS 100%🍫 #katebrush #shorts #gummy
00:19
When Undersea Cables Get Cut
8:46
Mental Outlaw
Рет қаралды 200 М.
Getting started with metaobject pages
8:13
Coding with Robby
Рет қаралды 2,1 М.
Goodbye, useEffect - David Khourshid
29:59
BeJS
Рет қаралды 503 М.
React Query Full Course (With Common Patterns & Best Practices)
32:42
Youssef Benlemlih
Рет қаралды 4,4 М.
10 common mistakes with the Next.js App Router
20:37
Vercel
Рет қаралды 231 М.
You might not need useEffect() ...
21:45
Academind
Рет қаралды 175 М.
React + RxJS = Reactive Global Goodness
26:46
Jack Herrington
Рет қаралды 43 М.
How Svelte Stores Make State Management Easy
32:41
Joy of Code
Рет қаралды 22 М.
Signals For Solid, Qwik And React
28:17
Jack Herrington
Рет қаралды 48 М.
This Library Makes State Management So Much Easier
12:07
Web Dev Simplified
Рет қаралды 135 М.