High Definition Standard Definition Theater
Video id : Om33AjwtQ_Y
ImmersiveAmbientModecolor: #cad0ad (color 2)
Video Format : (720p) openh264 ( https://github.com/cisco/openh264) mp4a.40.2 | 44100Hz
Audio Format: 140 ( High )
PokeTubeEncryptID: e9d1a18e6c78c57df09e427377283ad490c5fa19dfe69bc12d4b6138ea67ff0bdc0bf42204035a67b85f1a699c063644
Proxy : eu-proxy.poketube.fun - refresh the page to change the proxy location
Date : 1725415897685 - unknown on Apple WebKit
Mystery text : T20zM0Fqd3RRX1kgaSAgbG92ICB1IGV1LXByb3h5LnBva2V0dWJlLmZ1bg==
143 : true
Rebuild React Hooks yourself for Node
Jump to Connections
195,227 Views • Feb 25, 2023 • Click to toggle off description
Original talk "Getting closure on React Hooks" by Shawn "swyx" Wang at JSConf.Asia 2019 in Singapore. Find it at    • Can Swyx recreate React Hooks and use...  
Metadata And Engagement

Views : 195,227
Genre: Science & Technology
Feb 25, 2023 ^^


warning: returnyoutubedislikes may not be accurate, this is just an estiment ehe :3
Rating : 4.777 (486/8,243 LTDR)

94.43% of the users lieked the video!!
5.57% of the users dislieked the video!!
User score: 91.65- Overwhelmingly Positive

RYD date created : 2024-06-18T09:24:43.682518Z
See in json
Tags

oh hey i think you lost your tags look how to find one

Connections
Nyo connections found on the description ;_; report an issue lol

YouTube Comments - 82 Comments

Top Comments of this video!! :3

@FERnandezJjuan

1 year ago

That it’s not a HOOKk it’s just an state manager, it’s just taking advantage of closure

158 |

@ViieeS

1 year ago

Can’t imagine why I need hooks in Node 😅

130 |

@arsheonix5893

1 year ago

feels like he's cloning createSignal in SolidJs

46 |

@pranjalagnihotri6072

6 months ago

Watched this back in college was amazing 😊

|

@oleksandrploskovytskyy1520

1 year ago

Better to say it’s custom implementation of signals rather that hooks

15 |

@jma42

1 year ago

Its not a hook, its a signal implementation react what does there instead is save the state outside from the function, so when the hook runs again (when a component rerenders) it gets the new state. Something like this ```js let state = 0 ; function useState(s) {     state = state || s     const setState = (setter) => {         state = setter(state)     }     return [state, setState] } const [count, setCount] = useState(1); console.log("initial state", count); setCount((n) => n + 1); console.log("stale state", count); // rerender const [count2, setCount2] = useState(1); console.log("changed state", count2); ```

13 |

@marcusrehn6915

1 year ago

When faced with a difficult problem, find a simpler one and solve that instead. This is not useState.

10 |

@ganeshtowar8050

1 year ago

Where can we see full videos of this

2 |

@ShaharHarshuv

1 year ago

Doesn't that defeats the purpuse if you don't "rerender"? what's the point?

8 |

@jeetviramgama4392

1 year ago

Can it be an example of a closure?

40 |

@siyahulhaq7062

1 year ago

Use state in react using usereducer under the hood and reducer is managing re renders

|

@MCasterAnd

1 year ago

What kind of madman would want to put Reacts mess into Node?!

91 |

@RedStone576

1 year ago

this is just glorified mutable variable

43 |

@afrid18

1 year ago

What font is it?

|

@ryanlog

1 year ago

This is SolidJS actually

|

@target500milliontradersinv5

1 year ago

Ful lecture Vedio link?

|

@martybando1668

1 year ago

so convoluted

1 |

@Cookie-mv2hg

1 year ago

What on earth is the font he is using ?

|

@MrPlaiedes

1 year ago

So it's solid js...

4 |

Go To Top