Page JS usage on wp-calypso
While WordPress.com's calypso runs on React, calypso uses page.js which is an imperative router framework. This repository recreates the approach wp-calypso uses page.js with React while also providing a live demo of its usage.
- Checkout the code :
git clone git@github.com:jdc91/pagejs-on-calypso-react.git
cd pagejs-on-calypso-react
yarn
yarn start
The demo pages also show a snapshot of the Page data structure on render.