-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
feat: allow optionally controlled root #952
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
@dai-shi do you know why |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1st review
follow up to: #952 (comment) --------- Co-authored-by: Tyler <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Merging this, but could you add a PR description? It would be nice if it's detailed.
|
||
export const getConfig = async () => { | ||
return { | ||
render: 'static', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the default, right?
I wonder if we need _root.tsx
for partial-build fixture. Is there any reason you created this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created this just so that we had a test case that used the _root.tsx file.
If the presence of _root.tsx broke the build for any reason, having this here should catch that.
I'll update the description tho!
follow up to: dai-shi/waku#952 (comment) --------- Co-authored-by: Tyler <[email protected]>
follow up to: dai-shi/waku#952 (comment) --------- Co-authored-by: Tyler <[email protected]>
Adds support for
createRoot
increatePages
api and_root.tsx
in fs-router mode for controlling the top levelhtml
andhead
tagsthis will allow for controlling the top level tags, while still keeping a static default of the following: