-
Notifications
You must be signed in to change notification settings - Fork 11
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
Exploring incremental rendering as the default #481
Comments
Browser support issues
|
I found a few bugs when looking into this issue with using IR in place-my-order. I'm going to go ahead and fix those bugs. |
(2 weeks)
|
Outstanding issuesIn order to proceed with incremental rendering there are 2 main blocking issues. They are: Use Node.js' http2 moduleIt's a little bit different from the http module, but there is a compatibility api so it might not be too bad to use it. Figure out how to handle SSL certs for development modeSetting up an SSL certificate for local development is a pain. Even for experienced developers. For inexperienced users it's probably the difference between using and not using a framework. So we need a way to provide one by default, or to create one at build-time or something. Additionally when you create a self-signed certificate you get an ugly error message in browsers that you have to know how to ignore. This flow needs to be improved. |
I'm going to begin working on this soon. This is broken up into 3 main things:
I'm going to start with dom-patch since it's pretty straight forward, it will be broken into separate libraries that do one part:
dom-patch will be deprecated once this is complete, and no longer used in done-ssr. |
Just need to toggle it to become the default. I'm updating the estimate based on that. |
Closed by #598 |
This issue is to explore what it would take to make incremental rendering the default. I'll be testing in some projects and writing notes here on things like bugs, UX, etc.
Overview
Incremental rendering is really 2 things. One is a mutation stream renderer and the other is a reattacher. I would rate the stability of these things as:
Issues
require('http2')
). Instead we use a fork of node-spdy which is not really maintained. We should definitely switch to the build-in module.UX
--cert
and--key
arguments are required to start an H2 server. Would it maybe be possible to include a default key/cert for development?Apps
place-my-order
The text was updated successfully, but these errors were encountered: