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

Without react full server side #229

Closed
yovanoc opened this issue Oct 7, 2023 · 5 comments · Fixed by #232
Closed

Without react full server side #229

yovanoc opened this issue Oct 7, 2023 · 5 comments · Fixed by #232
Labels
question Further information is requested

Comments

@yovanoc
Copy link

yovanoc commented Oct 7, 2023

I was wondering if we could use the server sides methods without react and nextjs at all? thanks

@yovanoc yovanoc added the enhancement New feature or request label Oct 7, 2023
@QuiiBz QuiiBz added question Further information is requested and removed enhancement New feature or request labels Oct 7, 2023
@QuiiBz
Copy link
Owner

QuiiBz commented Oct 7, 2023

That's currently not exposed and only used internally to use the same code between the Pages & App Router.

Could you share your use-case? next-international focuses solely on Next.js.

@yovanoc
Copy link
Author

yovanoc commented Oct 7, 2023

I see. The use case is a monorepo with different nextjs apps and other apps like api and services.
I would like to share the same 'translate' package that would be created inside the monorepo and share the translate methods to the nextjs apps, but with the services too, thanks for your time

@QuiiBz
Copy link
Owner

QuiiBz commented Oct 8, 2023

That seems like a valid use-case. The createT function will be exposed in the next release.

@yovanoc
Copy link
Author

yovanoc commented Oct 8, 2023

Thanks I will see how it works then !

@QuiiBz
Copy link
Owner

QuiiBz commented Oct 12, 2023

Released in next-international@1.1.2!

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

Successfully merging a pull request may close this issue.

2 participants