needle
needle copied to clipboard
Recommendation for Non Reactive Context
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!!