facebook / react-strict-dom

React Strict DOM (RSD) is a subset of React DOM, imperative DOM, and CSS that supports web and native targets
MIT License
3k stars 149 forks source link

Provide structured error/warn messages #86

Closed necolas closed 2 months ago

necolas commented 2 months ago

Improve the DX of using LogBox suppression in React Native by using a common structure for error/warn messages. This allows for easier configuration to suppress either specific messages, or categories of messages, e.g., "all unsupported properties" or "all unsupported values".

github-actions[bot] commented 2 months ago

compressed-size: runtime library

Size change: -0.02 kB Total size: 18.78 kB

Filename: gzip (minify) kB size kB change % change
./packages/react-strict-dom/dist/dom/index.js 2.99 (8.99) -0.00 (-0.01) -0.1% (-0.1%)
./packages/react-strict-dom/dist/native/index.js 14.84 (46.31) -0.01 (-0.12) -0.1% (-0.3%) 🟢
View unchanged | Filename: gzip (minify) | kB size | kB change | % change | | :--- | :--- | :--- | :--- | | `./packages/react-strict-dom/dist/dom/runtime.js` | **0.95** (2.33) | **0.00** (0.00) | **0.0%** (0.0%) |