floppy-disk 1.1.0-beta.1 → 1.1.0

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.
Files changed (2) hide show
  1. package/README.md +9 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -7,9 +7,9 @@ This library was highly-inspired by [Zustand](https://www.npmjs.com/package/zust
7
7
  **Bundle Size Comparison:**
8
8
 
9
9
  ```js
10
- import { create } from 'zustand'; // 3.3kB (gzipped: 1.5kB)
10
+ import { create } from 'zustand'; // 3.3 kB (gzipped: 1.5 kB)
11
11
 
12
- import { createStore } from 'floppy-disk'; // 1.1kB (gzipped: 622B) 🎉
12
+ import { createStore } from 'floppy-disk'; // 1.1 kB (gzipped: 622 B) 🎉
13
13
 
14
14
  import {
15
15
  QueryClient,
@@ -17,11 +17,16 @@ import {
17
17
  useQuery,
18
18
  useInfiniteQuery,
19
19
  useMutation,
20
- } from '@tanstack/react-query'; // 41kB (gzipped: 11kB)
20
+ } from '@tanstack/react-query'; // 41 kB (gzipped: 11 kB)
21
21
 
22
- import { createQuery, createMutation } from 'floppy-disk'; // 6.1kB (gzipped: 2.2kB) 🎉
22
+ import { createQuery, createMutation } from 'floppy-disk'; // 6.3 kB (gzipped: 2.3 kB) 🎉
23
23
  ```
24
24
 
25
+ - Using Zustand & React-Query: https://demo-zustand-react-query.vercel.app/
26
+ 👉 Total: **309.16 kB** ~ gzipped 97.66 kB
27
+ - Using Floppy Disk: https://demo-floppy-disk.vercel.app/
28
+ 👉 Total: **279.46 kB** ~ gzipped 89.33 kB
29
+
25
30
  ## Table of Contents
26
31
 
27
32
  - [Store](#store)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "floppy-disk",
3
- "version": "1.1.0-beta.1",
3
+ "version": "1.1.0",
4
4
  "description": "FloppyDisk - lightweight, simple, and powerful state management library",
5
5
  "keywords": [
6
6
  "state",