Skip to content

react-dom/profiling TypeError: Cannot read property 'current' of null #13601

@gaearon

Description

@gaearon

I can't quite figure out how to use the profiling build. I aliased react-dom to react-dom/profiling but I get this error:

screen shot 2018-09-08 at 20 17 02

screen shot 2018-09-08 at 20 17 06

I didn't want interactions, I just want profiling. What am I doing wrong?

To repro, use CRA, then eject, then add react-dom -> react-dom/profiling to alias in webpack prod config and build.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions