Skip to content

RenderToNodeStream docs don't match actual API #42

@kylepotts

Description

@kylepotts

renderToNodeStream

  • component: The React component being rendered
  • cache: The component cache object
  • res: The response object that Express provides
  • htmlStart: Start of html markup in string form
  • htmlEnd: End of html markup in string form
  • memLife: (Only if using Memcached) An integer representing the lifetime (in seconds) of each Memcached entry. Defaults to 0.

https://github.com/rookLab/react-component-caching/blob/master/src/server/ReactDOMNodeStreamRenderer.js#L102

Any plans to update that? I've got custom html properties I want to inject instead of what is being added now.

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