bugsnag / bugsnag-js-performance

Monitor the performance of your JavaScript (web and React Native) and see the results in your BugSnag dashboard.
https://docs.bugsnag.com/performance/integration-guides
MIT License
4 stars 1 forks source link

[PLAT-11855] Forward navigation refs #431

Closed gingerbenw closed 3 months ago

gingerbenw commented 3 months ago

Goal

Fix an issue where refs are not forwarded to the NavigationContainer

Changeset

Update createNavigationContainer to pass refs to the returned component and update types to ensure compatibility

Testing

Added unit test to ensure ref is passed correctly and navigation can occur

github-actions[bot] commented 3 months ago

Browser bundle size

NPM build

Package
Before 183.50 kB
After 183.50 kB
± No change

CDN build

Unminified Minfied Minified + gzipped
Before 91.28 kB 34.22 kB 10.37 kB
After 91.28 kB 34.22 kB 10.37 kB
± No change No change No change

Code coverage

Coverage values did not change👌.

Total:

Lines Branches Functions Statements
87.73%(+0%) 78.81%(+0%) 88.55%(+0%) 84.49%(+0%)

Generated against 03c29f432297348fd76c893968e5e9ec4af881c1 on 27 March 2024 at 11:49:29 UTC