how to use gatsby with react code example
Example 1: install gatsbyjs using npx
npx gatsby new gatsby-site https://github.com/gatsbyjs/gatsby-starter-default
Example 2: how to create reactportal in gatsby
npm install --save gatsby-plugin-portal
# or
yarn add gatsby-plugin-portal