@shopify/react-performance
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -10,3 +10,3 @@ # Changelog | ||
## [1.3.0] 2020-02-05 | ||
## [1.3.0] - 2020-02-05 | ||
@@ -13,0 +13,0 @@ ### Added |
{ | ||
"name": "@shopify/react-performance", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"license": "MIT", | ||
@@ -27,3 +27,3 @@ "description": "Primitives to measure your React application's performance using @shopify/performance", | ||
"dependencies": { | ||
"@shopify/performance": "^1.2.6" | ||
"@shopify/performance": "^1.2.7" | ||
}, | ||
@@ -34,3 +34,3 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@shopify/network": "^1.4.6" | ||
"@shopify/network": "^1.4.7" | ||
}, | ||
@@ -37,0 +37,0 @@ "files": [ |
@@ -35,3 +35,3 @@ # `@shopify/react-performance` | ||
The `@shopify/react-performance` library automatically handles creating a shared `Performance` instance (from [`@shopify/performance`](../performance)) for you when it is imported. This `Performance` instance automatically wraps the browser's built in performance and connection information and calculates some basic page-load stats. A long as we import `@shopify/react-performance` somewhere in our app the instance will be there for us. | ||
The `@shopify/react-performance` library automatically handles creating a shared `Performance` instance (from [`@shopify/performance`](../performance)) for you when it is imported. This `Performance` instance automatically wraps the browser's built in performance and connection information and calculates some basic page-load stats. As long as we import `@shopify/react-performance` somewhere in our app the instance will be there for us. | ||
@@ -269,3 +269,3 @@ That said, we will need to add some calls to the `usePerformanceMark` hook to our application in order to help `@shopify/react-performance` determine when a page is fully loaded and React has finished mounting components. | ||
To get sensical data, applications using `usePerformanceReport` should be sure to have at least on performance mark on each top level page. | ||
To get sensical data, applications using `usePerformanceReport` should be sure to have at least one performance mark on each top level page. | ||
@@ -272,0 +272,0 @@ ##### Segmenting by user locale |
35679
Updated@shopify/performance@^1.2.7