GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — react-engine/upgrade-guide.md at master · paypal/react-engine

This repository was archived by the owner on Jan 22, 2020. It is now read-only.

Expand file tree

/

upgrade-guide.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
13 lines (9 loc) · 1.28 KB
/

upgrade-guide.md

Copy path

File metadata and controls

13 lines (9 loc) · 1.28 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Migration from 3.x to 4.x

4.x version of react-engine removes the dependency of react-dom from the project. Users of react-engine should install react-dom along side react going forward.

Migration from 2.x to 3.x

While upgrading to 3.x version of react-engine, make sure to follow the react-router's 2.x upgrade guide to upgrade react-router related code in your app. Then, add to your express error middleware, react-engine's MATCH_REDIRECT and MATCH_NOT_FOUND checks.

Migration from 1.x to 2.x

2.x version of react-engine brought in a major api change. Basically it affects the property names of the object that gets passed in during the engine creation on the server side and also how routes definition is passed into react-engine.

In v2.x, routes need to be explicitly required and passed in to the engine creation method. Also, any react-router known properties can be passed in.

An example engine creation can be found here.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.