,

Posted by

0 0 votes
Article Rating
11 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
@grinsk3ks
6 months ago

How do you write react components now? Functions, classes, web components?

@SilvestreVivo
6 months ago

Summarizing the podcast: React 19 tries to work like Svelte.

@patricknelson
6 months ago

It’s really great to see React supporting web components so well now. I’m not a React dev but I see WC’s as a wonderful pivot point between various applications, particularly if you’re writing code that has to be shared across separate teams/apps/sites or making a library or something.

@patricknelson
6 months ago

8:11 Svelte is great with web components, but still has some minor kinks here and there, particularly nesting in the light DOM and with supporting context. HMR too. That’s why I created svelte-retag which supports that, light DOM and even Vite HMR. I did all that since I loved Svelte but also needed a smooth way to integrate it into our legacy PHP monolith and so far it is working really great for us; especially context, which is a killer feature for us.

@AwkwardNutsV2
6 months ago

18:10 – I dont use twitter and couldn't see the post you mentioned here about using a status variable.
Would you be able to link it or explain it here please. Really quite interesting in seeing it! Great content as always, thank you 😊.

@rand0mtv660
6 months ago

23:40 I haven't tried this, but maybe it's possible to just use "onLoad" event handler on script tag? Same way you can do onLoad on an img tag for example.

@Fallingstar-yy5iv
6 months ago

Lit was terrible for writing web-components in. Svelte was far better. Mostly not having to lean on template string for all the html div description.

@2penry2
6 months ago

Zustand is different to context though, Zustand is global only. Context can be used in multiple places in the tree with different values.

@gofudgeyourselves9024
6 months ago

Monday Monday Monday Open Wide Dev fans, Get ready to stuff yourself with Javascript, CSS, Barbeque Tips, Breaking dancing, Node modules,The hastiest the tastiest the craziest , i don't remember

@ariosetiawan173
6 months ago

no ForwardRef is key of imperativeHandle, now in 19 more easy to implement imperativeHandle 😀

@ashiquehansari3205
6 months ago

It is truly enlightening and provided valuable insights into the latest features and improvements in React 19