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

passed context into inner root node and passed context via apply #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

GTDev87
Copy link

@GTDev87 GTDev87 commented Aug 4, 2016

This allows react-router to pass router context into inner mounting node. JSON.stringifygot rid of the functions on the router context.

Thanks!

@ryanswanson
Copy link

Ran into a similar issue using examples with emotion and emotion-theming in which the theme's read-only store (object with subscribe/unsubscribe) is passed from the theme provider to emotion components via React context.

A quick patch of the changes to preview.jsx made our use cases with emotion work, so we'll likely fork until this fix makes it to master.

ryanswanson added a commit to ryanswanson/component-playground that referenced this pull request Jan 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants