I want to implement context API for transmitting a value in my files.
I have the following folder structure
Screen
|-------Search Component
|-------Container Component
If I set up the context API provider in my Search can I "consume" it in Container using nested component structure. Any help is highly appreciated.
I am implementing the context api for the first time so I am not very clear with all the implementation structure.
Thanks