This is a repository for an example of using React with mapbox-gl and Next.js. You can use it as a new project template. Read more about this project from my blog post, link in README.md
Why do you think that https://github.com/uber/react-map-gl is a good alternative to using-mapbox-gl-with-react