Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with Nextjs and React #299

Open
DenisTis opened this issue Nov 19, 2021 · 3 comments
Open

Does not work with Nextjs and React #299

DenisTis opened this issue Nov 19, 2021 · 3 comments

Comments

@DenisTis
Copy link

Hi all,
I am using it to display and maintain some small notes. However, there is no way to trigger update,
because only database access can be done in read-only method getServerSideProperties.

@Belphemur
Copy link
Owner

Hi,
For now it isn't meant for client side usage, only server side.

@Ucok23
Copy link

Ucok23 commented Feb 11, 2022

Hi @Belphemur ,
I try using it for api database, but don't trigger any update, api code run on server side, so i expect it could be run, but still don't

@antonytrupe
Copy link
Contributor

I'm using it for serverside persistance in a nextjs app. Make sure its not getting pulled into any client side code like Belphemur said.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants