-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Add support for Next.JS #456
Comments
💯. But I'd suspect that might have to wait for after #461? |
I'll just mention my own WIP example of Slinky with Next.js, there certainly are pitfalls that will make your whole app break, but it is quite possible to write a Next.js app with Slinky. Currently, some of the struggles that remain are how to make properly split code, since Scala.js module splitting sees function components as static initializers, they are all bundled together into the same file, thus making large apps quite ineffective at code-splitting. Also, you'll have to use If time and motivation allow, I hope to be able to create a more comprehensive example/integration of Next.js into the Slinky/Scala.js ecosystem. Repo can be found here: https://github.com/Asamsig/next-slinky-example |
Tracking issue in Scala.js that prevents us from eliminating glue code: scala-js/scala-js#4742 |
We now have basic Next.js support, so moving this to backlog while we're blocked on upstream. |
Add the ability to optionally use the Next.JS framework to build your React apps. I think if Slinky integrated the Next.JS framework and added the ability to pump out a Next app, Slinky is going to be truly the most scalable web framework in the world.
The text was updated successfully, but these errors were encountered: