FormidableLabs / spectacle

A React-based library for creating sleek presentations using JSX syntax that gives you the ability to live demo your code.
https://commerce.nearform.com/open-source/spectacle/
MIT License
9.75k stars 691 forks source link

Remove `create-react-app` option, Add new option 1 using Next.js? #1260

Closed karlhorky closed 1 year ago

karlhorky commented 1 year ago

Description

Now that create-react-app is going away (it's turning into a launcher), I would propose the following changes:

  1. Remove all mentions of create-react-app from the tutorial (this is Option 1, so very visible)
  2. Add a new Option 1 that uses Next.js instead - ideally using the App Router + React Server Components

Proposal

By changing the documentation and providing a polished, tested template using Next.js

Links / References

Linked above already

carloskelly13 commented 1 year ago

@karlhorky This is a good idea. I think the quickest way to boot strap a new Spectacle deck when wanting to use JSX + React components is Vite, but Next App Router is also a good choice.

karlhorky commented 1 year ago

Thanks for this @carloskelly13 ! 🙌 @ProchaLu will try out migrating our slides from mdx-deck to Spectacle + Next.js + App Router.

carloskelly13 commented 1 year ago

Yeah! Let us know if you find anything during the migration!