Skip to content

Conversation

@r17x
Copy link
Contributor

@r17x r17x commented Oct 3, 2025

React API: <Profiler> component Introduced in [email protected]

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