magento-research / peregrine

(Defunct) Moved to https://github.com/magento-research/pwa-studio
Open Software License 3.0
29 stars 1 forks source link

Router working with real routes #21

Closed DrewML closed 6 years ago

DrewML commented 6 years ago

This is a working implementation of the router, that resolves page types and root components against an API.

Things to note:

  1. The backend doesn't know about RootComponent's yet, so that portion of the API is currently stubbed
  2. User-defined Loading/404/Error states are not implemented yet. This changeset was starting to get big, so there will be a follow-up PR for that work.
  3. Changeset for pwa-module-theme to consume this will happen post-merge, but the diff is tiny
  4. You'll need the 2.3-develop core branch for GraphQL
zetlen commented 6 years ago

Approved!