@quilted/create 0.1.34 → 0.1.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @quilted/create
|
|
2
2
|
|
|
3
|
+
## 0.1.35
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`84e74cb1`](https://github.com/lemonmade/quilt/commit/84e74cb1748ef4c427d6a4dfb854fa6898868918) Thanks [@lemonmade](https://github.com/lemonmade)! - Fix default navigation performance experience
|
|
8
|
+
|
|
3
9
|
## 0.1.34
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import {usePerformanceNavigation} from '@quilted/quilt';
|
|
2
|
+
|
|
1
3
|
import styles from './Start.module.css';
|
|
2
4
|
|
|
3
5
|
export function Start() {
|
|
6
|
+
// This hook indicates that the page has loaded. It is used as part of Quilt’s
|
|
7
|
+
// navigation performance tracking feature. If you have disabled this feature,
|
|
8
|
+
// you can remove this hook.
|
|
9
|
+
usePerformanceNavigation();
|
|
10
|
+
|
|
4
11
|
return <div className={styles.Start}>Hello world!</div>;
|
|
5
12
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
QuiltApp,
|
|
3
3
|
useCurrentUrl,
|
|
4
|
+
usePerformanceNavigation,
|
|
4
5
|
usePerformanceNavigationEvent,
|
|
5
6
|
type Routes,
|
|
6
7
|
} from '@quilted/quilt';
|
|
@@ -33,6 +34,11 @@ export default function App() {
|
|
|
33
34
|
// This component will be rendered for the root URL of your application. Feel
|
|
34
35
|
// free to edit it, rename it, remove it entirely, or move it to a dedicated file.
|
|
35
36
|
function Start() {
|
|
37
|
+
// This hook indicates that the page has loaded. It is used as part of Quilt’s
|
|
38
|
+
// navigation performance tracking feature. If you have disabled this feature,
|
|
39
|
+
// you can remove this hook.
|
|
40
|
+
usePerformanceNavigation();
|
|
41
|
+
|
|
36
42
|
return <div>Hello world!</div>;
|
|
37
43
|
}
|
|
38
44
|
|