react-selectize icon indicating copy to clipboard operation
react-selectize copied to clipboard

Cannot find module 'react-dom/lib/ReactPerf'

Open jacklin10 opened this issue 9 years ago • 3 comments

Hi there!
Just came across this lib today and wanted to give it a try in a project i'm working on but i'm getting an error: Cannot find module 'react-dom/lib/ReactPerf' from 'react/lib/ReactAddonsDOMDependencies.js

Here's some relevant bits of my package.json:

    "brunch": "2.9.1",
    "react": "^15.4.1",
    "react-addons-css-transition-group": "^15.4.1",
    "react-addons-shallow-compare": "^15.4.1",
    "react-selectize": "^2.1.0"

The top of my jsx file looks like this:

import React from "react";
import ReactDOM from "react-dom";
import ReactSelectize from "react-selectize";

I'm using brunch and I found a similar issue here: https://github.com/facebook/react/issues/8556

But I rebuilt with: brunch build --production

but still no worky.

Wondering if you or anyone else has seen this / figured it out.

Thanks!

jacklin10 avatar Dec 21 '16 18:12 jacklin10

The actual issue is this one https://github.com/brunch/brunch/issues/1591

ghost avatar Dec 31 '16 22:12 ghost

We shipped a workaround in React 15.4.2 although it might break again until the underlying issue is fixed.

gaearon avatar Jan 06 '17 20:01 gaearon

Thanks @gaearon I'll update and give it a shot this weekend.

jacklin10 avatar Jan 06 '17 21:01 jacklin10