Relative Content

Tag Archive for next.jsstate

How to prop drill down through a LInk component in nextJS14

i was wondering if anyone could advise me on the best way to get data passed through a Link component? I have identified the parent component that i wish to lift up the state to, in this case its the DropDownModal component. From there the data has to pass down through two components on each branch. My problem is one branch is AvatarBlock, which is a component, thats fine, the problem is my second branch which is a link that takes me to the account page. Because it isnt a component im not sure how to navigate through it with prop drilling.