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

Fix exercise 1, 2, 6 tests

Open kentcdodds opened this issue 2 months ago • 2 comments

Every test gives the error: internals.injectProfilingHooks is not a function

kentcdodds avatar Dec 05 '25 14:12 kentcdodds

Image

This is what we have now. There's no longer an injectProfilingHooks value. Maybe we need to use the profiling version of React?

kentcdodds avatar Dec 05 '25 14:12 kentcdodds

Might look into https://react-scan.com/ and see how they track renders. Maybe we could even use it 🤔

kentcdodds avatar Dec 05 '25 14:12 kentcdodds