-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
kit: implement server components dev server #14025
Merged
Commits on Sep 20, 2024
-
kit + server component improvements
you can use --server-components with bun build, and you get a slightly more correct output. this output is not yet perfect or usable. but i am committing this as a checkpoint as the next step is a large design change for how `kit.DevServer` bundles and re-bundles files we are removing the old `Framework` struct, and replacing it with a new one with a similar purpose: configuration options targeted towards framework developers. it tells the bundler how to glue the framework to the application, mostly in regards to react server components introduce `bundle_v2.AstBuilder`, which is used for parallel generation of virtual modules. previously, this used a string builder combined with the javascript parser. this is silly and will not be fun to use for the 3-5 file kinds that the bundler will have to generate. this builder makes it very easy introduce `kit.DevServer.IncrementalGraph`, which will keep track of changes between bundle tasks. however, this code is not ripe and will be iterated on extensively. i don't think it's approach is sound yet
Configuration menu - View commit details
-
Copy full SHA for b3ecf3a - Browse repository at this point
Copy the full SHA b3ecf3aView commit details -
begin hot reloader iteration 2
there are two `IncrementalGraph`s. one for the client and one for the server. the plan is all routes share these two graphs, de-duplicating cross-route work. more explanation is left in documentation comments. more server components bugs are fixed, but not all. it is in a weird state where some files are tree-shaken away, as well as bogus output like `const Client = Client;`
Configuration menu - View commit details
-
Copy full SHA for 2de1a7a - Browse repository at this point
Copy the full SHA 2de1a7aView commit details
Commits on Sep 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for ed392b0 - Browse repository at this point
Copy the full SHA ed392b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 936210f - Browse repository at this point
Copy the full SHA 936210fView commit details
Commits on Sep 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5fd2764 - Browse repository at this point
Copy the full SHA 5fd2764View commit details
Commits on Sep 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 966a839 - Browse repository at this point
Copy the full SHA 966a839View commit details -
Configuration menu - View commit details
-
Copy full SHA for 389f0cd - Browse repository at this point
Copy the full SHA 389f0cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for dd723a5 - Browse repository at this point
Copy the full SHA dd723a5View commit details
Commits on Sep 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f084c8a - Browse repository at this point
Copy the full SHA f084c8aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b1e16d - Browse repository at this point
Copy the full SHA 9b1e16dView commit details
Commits on Sep 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 90b1727 - Browse repository at this point
Copy the full SHA 90b1727View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1466dc - Browse repository at this point
Copy the full SHA d1466dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for cddd665 - Browse repository at this point
Copy the full SHA cddd665View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7869ca - Browse repository at this point
Copy the full SHA a7869caView commit details -
Configuration menu - View commit details
-
Copy full SHA for b7a2309 - Browse repository at this point
Copy the full SHA b7a2309View commit details -
Configuration menu - View commit details
-
Copy full SHA for d70e902 - Browse repository at this point
Copy the full SHA d70e902View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0359c3 - Browse repository at this point
Copy the full SHA f0359c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f6ece5 - Browse repository at this point
Copy the full SHA 3f6ece5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e93244 - Browse repository at this point
Copy the full SHA 2e93244View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9f5ff9 - Browse repository at this point
Copy the full SHA a9f5ff9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1202f4 - Browse repository at this point
Copy the full SHA f1202f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a9c2c90 - Browse repository at this point
Copy the full SHA a9c2c90View commit details -
Configuration menu - View commit details
-
Copy full SHA for adf2a0f - Browse repository at this point
Copy the full SHA adf2a0fView commit details
Commits on Sep 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 96dc4b3 - Browse repository at this point
Copy the full SHA 96dc4b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3245ae - Browse repository at this point
Copy the full SHA f3245aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5cbe1a1 - Browse repository at this point
Copy the full SHA 5cbe1a1View commit details
Commits on Sep 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0e16df2 - Browse repository at this point
Copy the full SHA 0e16df2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1363c5f - Browse repository at this point
Copy the full SHA 1363c5fView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.