You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, @lindesvard. Once again, great project, thank you. 💪
Problem:
Just came across that next.js sdk has a global properties setter as documented here. Great feature, but why is it on the client side using useOpenPanel hook?
Proposed solution:
Would it not be better to move setting of global properties in one place, in the root of the project, preferably on the server side. For next.js a good place would be OpenPanelComponent imho:
Example:
Hey, @lindesvard. Once again, great project, thank you. 💪
Problem:
Just came across that next.js sdk has a global properties setter as documented here. Great feature, but why is it on the client side using
useOpenPanel
hook?Proposed solution:
Would it not be better to move setting of global properties in one place, in the root of the project, preferably on the server side. For next.js a good place would be
OpenPanelComponent
imho:Example:
Or am i missing smth? :)
The text was updated successfully, but these errors were encountered: