filmov
tv
Using Web Components with React just got better!

Показать описание
Until now using a Web Component from within a react application was a bit hit and miss. There were issues with handling event and passing certain properties that are now resolved in the latest experimental release of React. All going well we'll see these updates in the v18 release once it goes live but for now we can show how this improves the use of Web Components in React using the experimental v18 release.
In this demo we create a Lit Element web component and place it into a simple react application and then fire and event from the web component and look to handle it in the react application. This fails using the existing v17 release of React but once we upgrade to v18experimental the event is happily handled in the correct manner.
This is another step towards web components being able to be used in all scenarios, SSR the next hurdle I think...
0:55 Setup
1:15 React Setup
4:05 Lit Setup
10:45 Existing issue with handling events
11:45 Setup React vNext v18 Experimental
14:20 Working React events with Web Component
In this demo we create a Lit Element web component and place it into a simple react application and then fire and event from the web component and look to handle it in the react application. This fails using the existing v17 release of React but once we upgrade to v18experimental the event is happily handled in the correct manner.
This is another step towards web components being able to be used in all scenarios, SSR the next hurdle I think...
0:55 Setup
1:15 React Setup
4:05 Lit Setup
10:45 Existing issue with handling events
11:45 Setup React vNext v18 Experimental
14:20 Working React events with Web Component
Using Web Components in React
Learn Web Components In 25 Minutes
Using Web Components in React - Web Component Essentials
WebComponents Will Outlive Your JavaScript Framework | Prime Reacts
How to create a web component in React
Gil Fink- I’m With Web Components and Web Components Are With Me | React Next 2019
Bringing Ionic (and Web Components) to React – Mike Hartington
Are Web Components A Good Choice?
Basic React js Restaurant Website😊|| React Vite #react #js #reaction #viral #trending #shorts #feed...
Export interactive 3D as React.JS #webdeveloper #softwaredeveloper #developers #3dmodeling #reactjs
React x Web Components : How It Is and How It Could Be by Dwane Hemmings | JSConf Korea 2022
Let's talk about Web Components - Jemima Abu, React Advanced 2021
What's the Difference Between Web Components and Iframes?
Expo Made React Web-to-Native Migration Easier (Here's How)
Introduction to react-to-webcomponent
React vs Webcomponents - Which is Better?
React, a new way to create web components by Mathieu Ancelin
🟠 Build your own React application with UI5 Web Components for React
How to correctly style your React components
Why Everyone Hates Web Components
Web Components vs. React Components #shorts
The Story of Web Components
Web Components for Micro Frontends
How To Debug React Apps Like A Senior Developer
Комментарии