web-react-components
web-react-components copied to clipboard
Reuse your react components, for example in Elm or any other technology by wrapping them easily into a Web Component.
Thanks for creating awesome library. This has really saved my time. I want to bring to your notice that the wrapped React component is getting rendered multiple times initially. To...
I have been trying to follow the instructions. Currently I have something like this ``` export default function SimpleComp(props) { let name = props.name; const onButtonClick = props.onButtonClick; return (...
How to reuse react & react-dom instead of many instances?
Struggled getting firefox 57.0.1 (and developer edition) to handle a React component with prop.children (react-dom complained about element), so tried bumping the versions of the webcomponent polyfills listed in the...
With `useShadowDOM: false`, `children` is an empty `slot` element. See https://codesandbox.io/s/r0vz7638jq
It seems the package on npm is compiled to es5 before distribution. This is very unfortunate, since it doesn't work in es5 (Chrome requires customElements.define to take a class and...
Currently it seems the app turns the react component into a Webcomponent and that Webcomponent is accessible in the app somehow(no idea). Would there be a way to configure the...
Currently my React component uses third party components (Material UI mostly) which have their own styling. For example: ``` javascript import React from 'react'; import PropTypes from 'prop-types'; import Button...
Hi, Is it possible to add to this awesome library, the CSS injection into shadowDOM feature, like what's done in the https://github.com/spring-media/react-web-component, using the react-web-component-style-loader ? Thanks.
If you have a react property called `onClick` and use it on the web-react-component the handler will fire twice. Once for the native DOM and once for the web react...