Dec 6, 2022
0
Level 2
Retrieving Data in Subcomponent
Hey guys, I am using Inertia, Laravel and React in a project.
Let's say I have the following Page Show with the following Components
Page - Comp 1 - Comp 2 - Comp 3
If I want to have a prop in Comp 3, do I have to pass it all the way through? Or are there any other options.
Would it be good practices to use Shared Data or React Query?
Greetings Felix
Please or to participate in this conversation.