Content
@
0 reply
0 recast
2 reactions
DegenFans 🎩🔵🫂Ⓜ️
@degenfans
NextJs/typescript: What is the proper way to send a parameter to its parent element? I have a template and want to control it from the different pages (child elements), like showBigHeader true/false I used a context with useState and on the single pages I update this value in the useEffect. Is there a better way?
0 reply
0 recast
1 reaction