A simple React app that demonstrates a modal implemented using the recently introduced portals
API.
I wanted to share the ideas from the Oblique Strategies deck of cards with others who might find it useful. Additionally, it includes a simple Modal
component using a feature of React 16
that enables users to easily create portal components.
- Build:
yarn run build
generates a fresh static build that can be deployed easily. - Development:
yarn start
starts a localwebpack
development server.
- For the sake of simplicity, the data is contained in a JSON file.
- This project was bootstrapped with Create React App.
AGPL-3.0