needle icon indicating copy to clipboard operation
needle copied to clipboard

Recommendation for Non Reactive Context

Open jeandavid opened this issue 5 years ago • 0 comments

Hi, What is the best way to share data downstream with needle in a non reactive context? Let me provide a simple case. I have a comment list which has a corresponding Component and ViewController. User taps on a comment. What would be a good way to pass this selected comment from the ViewController back to the Component (parent) so it can introduce a new dependency. The end goal being that the comment detail Component (child) can instantiate a comment detail ViewController for the selected comment. Thank you!!

jeandavid avatar Jan 21 '20 06:01 jeandavid