-
Notifications
You must be signed in to change notification settings - Fork 152
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
[Toolchain] Fix SSR and react hooks support #3691
Conversation
4612cde
to
57914a0
Compare
New dependencies added: require-controlAuthor: Anton Korzunov Description: Get the full control over the nodejs module system. Homepage: https://github.com/theKashey/require-control#readme
|
1 similar comment
New dependencies added: require-controlAuthor: Anton Korzunov Description: Get the full control over the nodejs module system. Homepage: https://github.com/theKashey/require-control#readme
|
"styled-components": path.resolve( | ||
path.join(__dirname, "../node_modules/styled-components") | ||
), | ||
}) |
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.
👌
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.
Glad we’re in a place where linking no longer is such a pain! 👏 We should keep looking for solutions without hacks, but until then I’m not against them, this stuff is hard.
As for the map of aliases, is there any way we can extract them from here and the web pack config and maintain a single authoritative list that both places can import?
We can do that, something like a |
Ace 👍 Feel free to either merge and iterate or add it now. |
Looked at the webpack side of things and the form required is different enough to warrant a bit of duplication. That said, I added a comment on the Webpack side and we can return if this list grows a bit. |
New dependencies added: require-controlAuthor: Anton Korzunov Description: Get the full control over the nodejs module system. Homepage: https://github.com/theKashey/require-control#readme
|
a76256a
to
2bf5818
Compare
2bf5818
to
ab4bfe5
Compare
This fixes a few things:
With these items fixed I was able to remove the
yarn start:ssr
command and have tested cross-linking all the way across from reaction to palette.