@geops/create-react-web-component v3.0.4-beta.14
Create React Web Component
This project is a fork of the archived but great SimonHoiberg/create-react-web-component.
It includes the React 18 support and removed all cli stuff.
How to use it
In your project:
yarn add @geops/create-react-web-component
Create a js file:
import ReactWebComponent from "@geops/create-react-web-component";
import MyReactComponent from "./MyReactComponent";
ReactWebComponent.setAttributes(MyReactComponent.attributes);
ReactWebComponent.setProperties(MyReactComponent.defaultProps);
ReactWebComponent.render(MyReactComponent, "trafimage-maps", { shadow: false });
Contributing
Getting Started
yarn install
yarn test
Issuess
In the case of a bug report, bugfix or a suggestions, please feel very free to open an issue.
Pull request
Pull requests are always welcome, and I'll do my best to do reviews as fast as I can.
License
This project is licensed under the MIT License
Get Help
Read more about using Web Components with React on the official React Docs
- If appropriate, open an issue on GitHub
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
6 years ago
6 years ago