Wondering what’s next for npm?Check out our public roadmap! »

@modernpoacher/isomorphic

0.0.21 • Public • Published

@modernpoacher/isomorphic

Implements:

  1. @sequencemedia/react-render
  2. @sequencemedia/react-router-render
  3. @sequencemedia/react-redux-render
  4. @sequencemedia/react-router-redux-render

1. React

import {
  renderToString,
  renderToStaticMarkup,
  render
} from '@modernpoacher/isomorphic/lib'

2. React Router

import {
  renderToString,
  renderToStaticMarkup,
  render
} from '@modernpoacher/isomorphic/lib/react-router'

3. React + Redux

import {
  renderToString,
  renderToStaticMarkup,
  render
} from '@modernpoacher/isomorphic/lib/redux'

4. React Router + Redux

import {
  renderToString,
  renderToStaticMarkup,
  render
} from '@modernpoacher/isomorphic/lib/react-router/redux'

Implementation

Each function returns a string (or resolves to a string in the case of render which returns a Promise).

Keywords

none

Install

npm i @modernpoacher/isomorphic

DownloadsWeekly Downloads

7

Version

0.0.21

License

MIT

Unpacked Size

9.43 kB

Total Files

16

Last publish

Collaborators

  • avatar
  • avatar