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
Currently, users must write verbose and repetitive assertions when testing component render performance. This makes it challenging to quickly and clearly validate rendering behavior.
Proposed solution
Introduce custom matchers that allow developers to make intuitive, readable assertions directly on the profiling data returned by the measure() function.
Benefits
📝 More readable test code
🚀 Faster test writing
🔍 Clearer intent in performance tests
💡 Easier performance debugging
Acceptance criteria
Provide TypeScript type definitions
Ensure compatibility with Jest and other testing frameworks
Support both React Web and React Native packages
Create a new package, for example: @react-render-measurement-tool/matchers
The text was updated successfully, but these errors were encountered:
User problem
Currently, users must write verbose and repetitive assertions when testing component render performance. This makes it challenging to quickly and clearly validate rendering behavior.
Proposed solution
Introduce custom matchers that allow developers to make intuitive, readable assertions directly on the profiling data returned by the measure() function.
Benefits
📝 More readable test code
🚀 Faster test writing
🔍 Clearer intent in performance tests
💡 Easier performance debugging
Acceptance criteria
@react-render-measurement-tool/matchers
The text was updated successfully, but these errors were encountered: