Simple example application demonstrating how to integrate Conbine features into a React application, including an event bus, property injection, commands and services.
This example integrates with the React Context API, but if you'd prefer to take a
simpler approach the same outcome could be achieved using an imported global context.
To run the example, open a command line and enter:
npm i
npm start
This repo includes examples for both class and functional component, so just switch to the branch that matches your preferred approach:
- class-components for class components example
- functional-components for functional components example using hooks
If you find this project useful, why not buy us a coffee (or as many as you think it's worth)?
