Skip to content

modernpoacher/isomorphic

Repository files navigation

@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'

2. React Router

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

3. React and Redux

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

4. React Router and Redux

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

Implementation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published