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
I think cjs/react.profiling.min.js is an artifact of the way we were initially exposing the scheduling/tracing API through the SECRET object on React. We no longer do this for CJS builds so you're right that we can safely remove that from react.
That being said, we also don't have a react-dom production+profiling UMD variant because UMD profiling support seemed like an edge case. If we want to support it, we'll need to add a new UMD_PROFILING build type and plug it into the react and react-dom bundles (and probably add an entry point matching this naming convention to the schedule bundle to avoid confusion).
The 16.5.0 package released to unpkg currently has the production/profiling variant present for cjs builds but there is no equivalent for umd builds.
i.e. There is the file https://unpkg.com/[email protected]/cjs/react.profiling.min.js but there is no https://unpkg.com/[email protected]/umd/react.profiling.min.js
It would be great if a future release had the profiling variant packaged as umd as well.
Also thanks for the awesome framework!
The text was updated successfully, but these errors were encountered: