This is an example of how to talk between Mapbox JS and html checkboxes with React.
$ git clone git@github.com:Yann-Pravo/react-mapbox-webpack-example.git
$ cd react-mapbox-webpack-example/
$ npm install
$ npm run build
Then open the index.html
file in your web browser.