-
Notifications
You must be signed in to change notification settings - Fork 27.6k
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
duplicate react in bundle ? #394
Comments
trying to debug that from the source :) cat ./dist/client/next-dev.bundle.js | grep _FIRED
var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';
var ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED'; |
Not really sure this is related but i still have a weird bug with
Here's a repro : https://github.com/revolunet/next-issue-394 |
Okay. It seems like you are using a React addon. |
how did i missed that...thanks. |
Hey @revolunet could you try this PR: #401 |
I hope #401 fixes this. If not reopen and tell me what went wrong. |
#401 fixed it, great job thanks 👍 |
Hi,
Looks like a basic next.js project gets react duplicated in the
next-dev.bundle.js
.when launching my fresh project, and going to http://127.0.0.1:3000/_next/next-dev.bundle.js i can see two
SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED
in the source, and i guess this is not good ?it doesnt hurt for simple cases, but as soon as you use
ReactCSSTransitionGroup
or something using Reactrefs
then you get that error :PS: using next.js@1.2.3
The text was updated successfully, but these errors were encountered: