Ability To Use Mobx Stores in getServerSideProps #23309
Unanswered
DovahBrownies
asked this question in
Help
Replies: 3 comments
-
Bump. 🥺 Any hints as to how I can achieve anything similar (in |
Beta Was this translation helpful? Give feedback.
0 replies
-
Isn't mobx client-only? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to be able to user mobx stores inside of my page's
getServerSideProps
function.I need to do this to access information and functions exclusive to the stores.
Previously, while using
getInitialProps
, I used to do it as such:_app.js
myPage.js
Any idea on how this can be accomplished with
getServerSideProps
?Beta Was this translation helpful? Give feedback.
All reactions