Support "context bridging"
See original GitHub issueSince Recoil relies on the context to propagate and store its state, it would be nice to have the ability to bridge this context, if it isn’t propagated to all nodes in the tree.
Unfortunately, this is the case with ReactART (and friends) and the only proposed solution (for now) is to bridge the context using a “Consumer” with another “Provider” directly below it. See https://github.com/facebook/react/issues/13336 and in particular this comment: https://github.com/facebook/react/issues/13336#issuecomment-414709155. Recoil does not provide this, AFAICS.
Would it be possible to either:
- Provide a
RecoilConsumer
that does this or - Get access to the underlying context?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Bridging Contexts, Making Connections
Bridging Contexts, Making Connections: Selected. Papers from the Fifth International Conference on Language Teacher Education (CARLA Working Paper. Series).
Read more >contextBridge - Electron
Create a safe, bi-directional, synchronous bridge across isolated contexts.
Read more >Forms and functions of bridging factors - CAPTAIN.ca.gov
Abstract. Background: Bridging factors are relational ties, formal arrangements, and processes that connect outer system and inner organizational contexts.
Read more >How to Read Your Bible: Part 3 - Bridging Context
In this podcast Paul and Steven discuss how the Bible is one large story with many connecting elements.
Read more >2. The Criteria in Context | Assessment in Support of ...
Suggested Citation:"2. The Criteria in Context." National Research Council. 2003. Assessment in Support of Instruction and Learning: Bridging the Gap ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Was just wondering if instead of exposing
AppContext
(I mean, if there are really concern on this) exposing andContextBridging
component like @inlet suggests here would be a viable alternative… 🤔In case of
react-native-navigation
, that can be have many react roots. It’s need to the way to share state across<RecoilRoot>
.