Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

React.renderComponentToString support #8

Open

Description

@wyuenho

It would be really nice if PyReact could offer a generic WSGI app like the react-middleware project or an API where one could give it a path to a React component and it will return a string so the controller can include it to the response string.

Activity

  1. kmeht commented on May 1, 2014

    @kmeht
    Contributor

    Thanks for the suggestion! In the meantime, pull requests are always welcome :)

  2. lrowe commented on May 15, 2014

    @lrowe

    A while ago I reported to the mailing list on the approach I'm using in my Python app. I've now pulled out the rendering code from my current project and created python wsgi and node subprocess packages from it.

    To use this for rendering my react app I create a simple react rendering transform with this helper and then tie it together with this script

    I'll try and make an example project and write more docs some time in the next few weeks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions