react-mnemonic 1.3.0 → 1.4.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.
package/README.md CHANGED
@@ -65,10 +65,17 @@ survives a full page reload.
65
65
 
66
66
  ## Pick the right entrypoint
67
67
 
68
- - `react-mnemonic/core` for the lean persisted-state path
69
- - `react-mnemonic/schema` when you want schemas, validation, and migrations
70
- - `react-mnemonic/optional` for component libraries that should persist when a provider exists and silently fall back to in-memory state otherwise
71
- - `react-mnemonic` if you need the backward-compatible root entrypoint
68
+ | Entrypoint | Approx ESM size | Use when |
69
+ | -------------------------- | --------------- | ----------------------------------------------------------------------------------- |
70
+ | `react-mnemonic/optional` | ~4.9 KB | You want the tiny component-library shim that falls back to local memory |
71
+ | `react-mnemonic/bootstrap` | ~25 KB | You need synchronous first-paint recall before React renders |
72
+ | `react-mnemonic/core` | ~61 KB | A provider is required and you want the lean persisted-state path |
73
+ | `react-mnemonic/schema` | ~80.5 KB | A provider is required and you want schema validation, autoschema, and migrations |
74
+ | `react-mnemonic` | ~80.5 KB | You want the top-level full entrypoint with the same schema-capable runtime surface |
75
+
76
+ These are rough current estimates from the built ESM entry files in `dist/`
77
+ before consumer-side minification and tree-shaking. They are useful for
78
+ relative comparison, not as a hard size guarantee.
72
79
 
73
80
  ## Optional persistence for component libraries
74
81