Skip to content

feat(react): add Profiler module#903

Open
r17x wants to merge 1 commit intoreasonml:mainfrom
r17x:feat/profiler
Open

feat(react): add Profiler module#903
r17x wants to merge 1 commit intoreasonml:mainfrom
r17x:feat/profiler

Conversation

@r17x
Copy link
Contributor

@r17x r17x commented Oct 3, 2025

React API: <Profiler> component Introduced in react@v19.2.0

Usage Documentation: https://react.dev/reference/react/Profiler

| [@mel.as "mount"] Mount
| [@mel.as "update"] Update
| [@mel.as "nested-update"] NestedUpdate;
type onRender = (string, phase, float, float, float, float) => unit;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

id, phase, actualDuration, baseDuration, startTime, commitTime

we can probably use labeled arguments here, that'll make it more readable!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants