How to Turn #react Component into Native Web Component
▻https://hackernoon.com/how-to-turn-react-component-into-native-web-component-84834315cb24?sourc
How to Turn React Components into Native Web ComponentsStep-by-step instructions on how to wrap a React component inside a framework-agnostic HTML custom element; how to expose its properties and events, and support children transclusion.I have a side-project creating and maintaining a React component library called #dotnetify-Elements; a very specialized set of UI components that are capable of talking in real-time to a .NET Core back-end through web socket/SignalR.There’s been a few occasions where I would like to use them on static web pages or websites built with other UI framework. It’s possible, but it entails jumping through a few hoops to get React build system going, and sometimes that just may not be desirable.The Web Component standard, while not as versatile as React, at least (...)