Skip to content
Myr

Improve DX on React Native and Web Worker

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Andrey Sitnik · committed by Andrey Sitnik · parent ef256c8 · Browse files · 5 files+18 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

5 files+18 added−3 removed

  • tests:+6 added−0 removed
  • other:+12 added−3 removed

5 files+18 added−3 removed

added:test/old-browser.test.js+6 added
modified:.size-limit+1 added-1 removed
1[2 {3 "path": "index.js",4 "limit": "146 B"4 "limit": "143 B"5 },6 {7 "path": "generate.js",8 "limit": "179 B"
6 unmodified lines
modified:index.browser.js+9 added
modified:package.json+1 added-1 removed
modified:README.md+1 added-1 removed
6 unmodified lines
78**Safe.** It uses cryptographically strong random APIs9and tests distribution of symbols.1011**Small.** 146 bytes (minified and gzipped). No dependencies.11**Small.** 143 bytes (minified and gzipped). No dependencies.12It uses [Size Limit] to control size.1314**Compact.** It uses a larger alphabet than UUID (`A-Za-z0-9_~`).15As result it could reduce ID size from 36 to 21 symbols.
200 unmodified lines