react-performance-presentation
Slides for my presentation on react performance at Goodera prepared using MDX Deck and deployed to Vercel.
Development
To run the presentation deck in development mode:
npm start
Edit the deck.mdx
file to get started.
Exporting
To build the presentation deck as static HTML:
npm run build
To export a PDF:
npm run pdf
To export an image of the title slide:
npm run image
For more documentation see the mdx-deck repo.
Deploy
Vercel
- Clone the project locally and add to your Github
- Add the repo to Vercel
⚙️ Vercel settings
We give vercel a build script to run each time we make a commit to the repo. And the deploy folder is the place where mdx-deck exports the static HTML/JS version, and by pointing Vercel there it displays our deck after building.
- Set the build script to
npm run build
- Set the deploy folder to
dist