Migrating from React Preview

Preview.js replaces React Preview. It's no longer React-specific, and it's open source!

Here are the migration steps:

  1. Install Preview.js for your IDE:
  2. If you have a reactpreview.config.js config file, rename it to preview.config.js.
  3. If you have a __reactpreview__ directory, rename it to __previewjs__.
  4. If you use SVGR, follow the configuration instructions.
  5. If you use custom previews, use the new setupPreviews() function from @previewjs/plugin-react.

If you run into any trouble, feel free to file a GitHub issue.