Looking for someone who knows ReactJS / NextJS

Status
This thread has been locked.

dobbymcserver

Feedback score
1
Posts
0
Reactions
0
Resources
0
I am looking for someone who I can goto to ask for solutions to my problems related to ReactJS and NextJS, These problems wont be able to be solved by using google.
(i.e I currently need help with how to pass props between pages to pages using NextJS)


Add me on discord: rpgstock#0777 (UID: 574588629343797257)
 
Last edited:
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Shaun

Web Developer, owner of Syncore LLC
Supreme
Feedback score
20
Posts
622
Reactions
408
Resources
0
You can pass data between pages using query parameters.
 

Goose

Premium
Feedback score
2
Posts
57
Reactions
27
Resources
0
^ As Shaun said, React doesn't allow easy transference of props between individual pages, though if its something that cannot be done through query parameters, you could set a prop object on your root router and pass a function down to manipulate that prop and then fetch it on other pages. But beware, this can get very messy and is not advised at all. Personally I only set props in the root that need to be accessible on every page, such as user preferences and what not, maybe look into cookies if that might hold value to what you need done?
 

dobbymcserver

Feedback score
1
Posts
0
Reactions
0
Resources
0
You can pass data between pages using query parameters.
^ As Shaun said, React doesn't allow easy transference of props between individual pages, though if its something that cannot be done through query parameters, you could set a prop object on your root router and pass a function down to manipulate that prop and then fetch it on other pages. But beware, this can get very messy and is not advised at all. Personally I only set props in the root that need to be accessible on every page, such as user preferences and what not, maybe look into cookies if that might hold value to what you need done?
Thanks for the response, I ended up using react's context hook features. I couldnt use query parameters because they could be changed.
 
Status
This thread has been locked.
Top