Skip to content

Commit 2a33ab8

Browse files
committed
~ Update bundle size docs
1 parent 4ee5e39 commit 2a33ab8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -522,14 +522,18 @@ actions.
522522

523523
### Bundle size
524524

525+
Please note that
526+
[8.46 kb (3.26 kb)](https://bundlejs.com/?q=react%4019.1.0&treeshake=%5B%7BuseSyncExternalStore%7D%5D)
527+
of the below values are React.
528+
525529
| | Bundle size | GZipped | Notes |
526530
| ------------------------- | ----------- | ------- | -------------------------------------------------------------------------- |
527-
| [2n8][2n8-bundle] | 10.8 kB | 4.13 kB | |
531+
| [2n8][2n8-bundle] | 11.2 kB | 4.22 kB | |
528532
| [Zustand][zustand-bundle] | 17.4 kB | 6.53 kB | Includes `useShallow` hook and `immer` middleware to match feature parity. |
529533
| [MobX][mobx-bundle] | 74.9 kB | 21.9 kB | |
530534

531535
[2n8-bundle]:
532-
https://bundlejs.com/?q=2n8%400.16.0&treeshake=%5B%7BTwoAndEight%2CcreateReactStore%7D%5D
536+
https://bundlejs.com/?q=2n8%400.19.4&treeshake=%5B%7BTwoAndEight%2CcreateReactStore%7D%5D
533537
[zustand-bundle]:
534538
https://bundlejs.com/?q=zustand%405.0.3%2Czustand%405.0.3%2Freact%2Fshallow%2Czustand%2Fmiddleware%2Fimmer&treeshake=%5B%7B+create+%7D%5D%2C%5B%7B+useShallow+%7D%5D%2C%5B%7B+immer+%7D%5D
535539
[mobx-bundle]:

0 commit comments

Comments
 (0)