-
Notifications
You must be signed in to change notification settings - Fork 184
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
Proposal: Package reshuffle for user friendliness #33
Comments
I'm struggling to understand the scope of There's also a question of support -- in our use of react-server, we've had to spend a lot of time debugging webpack errors. If we hide all the complexity of webpack in the Also, since we Babelify the code for clients, how would clients opt in or out of language features? Do they simply have to accept the variant of es6 exported by |
@doug-wade thanks for the thoughtful post, and sorry for my delay in jumping in. Life intervenes sometimes. First a small point:
This is currently supported by the I hear what you are saying here, and I asked a lot of questions trying to get at the same issues in my My motivation for I think you are asking the right questions: what API will we support, how will we deal with new requirements, and what's the guarantee of what will work and what won't? And I think you are arguing that the current |
I've been thinking about this one, and I think we can do better. I'd like to keep
Thoughts? |
@doug-wade - That sounds like a good breakdown. Not sure how easy it will be to disentangle those from each other. The runner needs to be able to host the webpack hot loader, for instance... but that's probably just a matter of finding choke points for the API between the modules. Seems worth a shot. @aickin - Any thoughts? You still have the deepest knowledge of the internals of |
At high level, this seems like a good breakdown to me, although I'm not 100% sure how it will work without seeing and thinking about the APIs for each of the modules. What's the goal of making separate modules? Is there a case where you'd use one but not the others? Or is it more about understandability? |
Right now
react-server
isn't easy to get started with.It's missing big pieces that are provided by
react-server-cli
.Proposal:
react-server
toreact-server-core
.react-server-cli
intoreact-server
react-server
exportsstartServer.js
(as.start()
or.run()
)react-server-cli
just becomes CLI for callingrequire('react-server').start()
.The text was updated successfully, but these errors were encountered: