shinkansen-pantograph
TypeScript icon, indicating that this package has built-in type declarations

1.5.6 • Public • Published

shinkansen-pantograph

Pantograph

Pantograph implements React + Redux + React Router navigation behaviour for Zashiki Karakuri.

Usage

import {
  Pantograph
} from 'shinkansen-pantograph'
import Pantograph, {
  getRedirectToAlpha,
  getRedirectToOmega,
  getRedirectToEmbark,
  getRedirectToDebark,
  getRedirectToConfirm,
  getRedirectFromAlpha,
  getRedirectFromOmega,
  getRedirectFromEmbark,
  getRedirectFromDebark,
  getRedirectFromConfirm,
  getRedirectTo,
  graphite
} from 'shinkansen-pantograph/pantograph'

Pantograph exposes constants to be used by Redux actions and reducers and the method graphite to resolve React Router paths from Zashiki route resource objects.

See also

Package Sidebar

Install

npm i shinkansen-pantograph

Weekly Downloads

913

Version

1.5.6

License

ISC

Unpacked Size

20.3 kB

Total Files

15

Last publish

Collaborators

  • modernpoacherlimited
  • jonathanperry