| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 0.5.0 source code.tar.gz | 2023-05-09 | 3.5 MB | |
| 0.5.0 source code.zip | 2023-05-09 | 3.6 MB | |
| README.md | 2023-05-09 | 1.9 kB | |
| Totals: 3 Items | 7.0 MB | 0 | |
Highlights
nonce prop
Since React Wrap Balancer generates inlined script tags under the hood, you can now set the nonce prop for them:
:::jsx
<Balancer nonce="...">
// => <script nonce="...">
Support for React 16.8.0+
By adding a workaround for useId, we now have support for React 16.8.0+.
Bug fixes & Other Improvements
See the full changelog below.
What's Changed
- Infer the prop types of the
ascomponent by @lucasweng in https://github.com/shuding/react-wrap-balancer/pull/56 - website: migrated head.tsx to Metadata API by @valentinpolitov in https://github.com/shuding/react-wrap-balancer/pull/54
- Fix incorrect width computation for text that can't wrap by @TomerAberbach in https://github.com/shuding/react-wrap-balancer/pull/57
- Add Balancer to named exports by @ermesonqueiroz in https://github.com/shuding/react-wrap-balancer/pull/58
- typo: fix small typos and grammar by @m-krebs in https://github.com/shuding/react-wrap-balancer/pull/60
- Add
nonceprop for CSP by @lucasweng in https://github.com/shuding/react-wrap-balancer/pull/61 - feat: react under 18 support. by @ChanhyukPark-Tech in https://github.com/shuding/react-wrap-balancer/pull/62
- Update docs and reformat code by @shuding in https://github.com/shuding/react-wrap-balancer/pull/63
New Contributors
- @TomerAberbach made their first contribution in https://github.com/shuding/react-wrap-balancer/pull/57
- @ermesonqueiroz made their first contribution in https://github.com/shuding/react-wrap-balancer/pull/58
- @m-krebs made their first contribution in https://github.com/shuding/react-wrap-balancer/pull/60
- @ChanhyukPark-Tech made their first contribution in https://github.com/shuding/react-wrap-balancer/pull/62
Full Changelog: https://github.com/shuding/react-wrap-balancer/compare/0.4.1...0.5.0