@next-box/link-extra 0.0.18 → 0.0.19
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/README.md +3 -3
- package/dist/production.analysis.txt +15 -15
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
# link-extra
|
|
1
|
+
# @next-box/link-extra
|
|
2
2
|
|
|
3
|
-
A collection of link
|
|
3
|
+
A collection of link components for use primarily with Next.js.
|
|
4
4
|
|
|
5
5
|
[](https://badge.fury.io/js/%40next-box%2Flink-extra)
|
|
6
6
|
[](LICENSE)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
The use of React server components has flipped the traditional UX pattern of navigating to a page and waiting for the content to load on its head. Now, the potential delay is prior to the redirection, while the server render is happening. This transition can sometimes be handled by the use of the `loading.tsx` file, but not always.
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
-----------------------------
|
|
2
2
|
Rollup File Analysis
|
|
3
3
|
-----------------------------
|
|
4
|
-
bundle size: 4.
|
|
4
|
+
bundle size: 4.697 KB
|
|
5
5
|
original size: 5.51 KB
|
|
6
|
-
code reduction:
|
|
6
|
+
code reduction: 14.75 %
|
|
7
7
|
module count: 5
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
████████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
10
10
|
file: /src/LinkProvider.tsx
|
|
11
|
-
bundle space:
|
|
12
|
-
rendered size: 1.
|
|
11
|
+
bundle space: 40.26 %
|
|
12
|
+
rendered size: 1.891 KB
|
|
13
13
|
original size: 2.107 KB
|
|
14
|
-
code reduction:
|
|
14
|
+
code reduction: 10.25 %
|
|
15
15
|
dependents: 2
|
|
16
16
|
- /src/useLinkExtra.ts
|
|
17
17
|
- /src/index.ts
|
|
18
18
|
|
|
19
19
|
███████████████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
20
20
|
file: /src/helpers.ts
|
|
21
|
-
bundle space:
|
|
22
|
-
rendered size: 1.
|
|
21
|
+
bundle space: 38.62 %
|
|
22
|
+
rendered size: 1.814 KB
|
|
23
23
|
original size: 1.802 KB
|
|
24
|
-
code reduction: 0
|
|
24
|
+
code reduction: 0 %
|
|
25
25
|
dependents: 2
|
|
26
26
|
- /src/Link.tsx
|
|
27
27
|
- /src/index.ts
|
|
28
28
|
|
|
29
29
|
█████████░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
30
30
|
file: /src/Link.tsx
|
|
31
|
-
bundle space: 19.
|
|
32
|
-
rendered size:
|
|
31
|
+
bundle space: 19.61 %
|
|
32
|
+
rendered size: 921 Bytes
|
|
33
33
|
original size: 1.217 KB
|
|
34
|
-
code reduction:
|
|
34
|
+
code reduction: 24.32 %
|
|
35
35
|
dependents: 1
|
|
36
36
|
- /src/index.ts
|
|
37
37
|
|
|
38
38
|
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
|
|
39
39
|
file: /src/useLinkExtra.ts
|
|
40
|
-
bundle space: 1.
|
|
41
|
-
rendered size:
|
|
40
|
+
bundle space: 1.51 %
|
|
41
|
+
rendered size: 71 Bytes
|
|
42
42
|
original size: 227 Bytes
|
|
43
|
-
code reduction:
|
|
43
|
+
code reduction: 68.72 %
|
|
44
44
|
dependents: 2
|
|
45
45
|
- /src/Link.tsx
|
|
46
46
|
- /src/index.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-box/link-extra",
|
|
3
|
-
"description": "A collection of link
|
|
4
|
-
"version": "0.0.
|
|
3
|
+
"description": "A collection of link components for use primarily with Next.js.",
|
|
4
|
+
"version": "0.0.19",
|
|
5
5
|
"author": "miami-man",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/badbatch/next-box",
|