react-usestyles
react-usestyles copied to clipboard
🖍 Style components using React hooks. Abstracts the styling library away.
New API
## Proposal for API change This is a draft for an updated API, based on the experiences made with the current API and its limitations (like #1), the discussions in...
Doesn't matter if you actually tried it or just browsed the readme. Liked, disliked, confused by something? Lacking information or found an error? Leave anything that's on your mind here...
How will composablity be handled? Seems there are different APIs for combining styles: [JSS](https://cssinjs.org/jss-compose), [emotion](https://emotion.sh/docs/composition), [styled-system](https://varun.ca/styled-system/) (used in Rebass), & [Vudu](https://github.com/dhunninghake/vudu#composability-ftw) (newer, but interesting!). (Raised by @tomByrer)
There are [some opt-in options available](https://github.com/andywer/react-usestyles/blob/master/packages/style-hook/README.md#dynamic-styles--themes) to improve the performance, but there is one thing they cannot improve: Every styles object has to be prepared initially and that happens each...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @OlafConijn in...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.4 to 6.6.0. Commits b8a7edd 6.6.0 34c8534 fix: signature verification due to leading zeros 3e46a48 6.5.7 accb61e lib: DER signature decoding correction 03e06e1 6.5.6 7ac5360 Merge commit...
Bumps [serve-static](https://github.com/expressjs/serve-static) from 1.13.2 to 1.16.0. Release notes Sourced from serve-static's releases. 1.16.0 What's Changed Remove link renderization in html while redirecting (expressjs/serve-static#173) New Contributors @UlisesGascon made their first contribution...
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 6.0.5 to 6.0.6. Changelog Sourced from cross-spawn's changelog. 6.0.6 (2024-11-18) Bug Fixes disable regexp backtracking (#160) (ba5aaef) core: support worker threads (#127) (f4af31c) Commits d35c865 chore(release): 6.0.6...