-
Notifications
You must be signed in to change notification settings - Fork 2k
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
SSR: Mark masterbar and layout files as @ssr-ready
#2271
Conversation
e47d61b
to
e14d790
Compare
@@ -1,3 +1,4 @@ | |||
/** @ssr-ready **/ | |||
|
|||
/* !!! | |||
IF YOU ARE EDITING gridicon/index.jsx |
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.
Potentially OT, but is this warning still current?
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.
Yep, there's a PR in the Gridicons repo for this. 136-gh-gridicons
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.
Noice.
👍 |
1 similar comment
👍 |
So, I think if I merge this, it'll immediately cause everyone's |
e14d790
to
e3c6314
Compare
OK, I'm ignoring |
- Gridicons manually updated, but should merge fine. - Ignore config — for these situations where a module has different code for client/server, we shouldn't mark them as ssr-ready.
9422707
to
f7e7448
Compare
Can confirm. 👍 |
SSR: Mark masterbar and layout files as `@ssr-ready`
Part of #1551
Mark everything necessary to render the MasterBar on logged-out
/design
as@ssr-ready
. Gridicons manually updated for now.TODO:
shared/
, see what we can mark as readyconfig
To test:
make run