To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
The technical storage or access that is used exclusively for statistical purposes.
The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
How do you write react components now? Functions, classes, web components?
Summarizing the podcast: React 19 tries to work like Svelte.
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.
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.
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 😊.
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.
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.
Zustand is different to context though, Zustand is global only. Context can be used in multiple places in the tree with different values.
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
no ForwardRef is key of imperativeHandle, now in 19 more easy to implement imperativeHandle 😀
It is truly enlightening and provided valuable insights into the latest features and improvements in React 19