How to deal with nested react contexts of the same type

前端 未结 0 1551
陌清茗
陌清茗 2021-01-23 03:49

Given a component Foo that wraps its children in a FooContext, I\'m wondering how to deal with nested Foos (and thereby also their corresponding FooContext\'s), so that the nest

相关标签:
回答
  • 消灭零回复
提交回复
热议问题