You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many of the components use React "addons", which is aliased from react/addons to just react in the browser field in package.json.
On the server, this breaks rendering because it does not pull in the addons. There is no way to do the browserify-style aliasing on the server (as far as I know).
I think the solution should be to get rid of the browser aliasing in package.json and just use require('react/addons') instead of require('react') within the components.
The text was updated successfully, but these errors were encountered:
Many of the components use React "addons", which is aliased from
react/addons
to justreact
in the browser field inpackage.json
.On the server, this breaks rendering because it does not pull in the addons. There is no way to do the browserify-style aliasing on the server (as far as I know).
I think the solution should be to get rid of the browser aliasing in
package.json
and just userequire('react/addons')
instead ofrequire('react')
within the components.The text was updated successfully, but these errors were encountered: