0.5.0
Highlights
nonce
prop
Since React Wrap Balancer generates inlined script tags under the hood, you can now set the nonce
prop for them:
<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
as
component by @lucasweng in #56 - website: migrated head.tsx to Metadata API by @valentinpolitov in #54
- Fix incorrect width computation for text that can't wrap by @TomerAberbach in #57
- Add Balancer to named exports by @ermesonqueiroz in #58
- typo: fix small typos and grammar by @m-krebs in #60
- Add
nonce
prop for CSP by @lucasweng in #61 - feat: react under 18 support. by @ChanhyukPark-Tech in #62
- Update docs and reformat code by @shuding in #63
New Contributors
- @TomerAberbach made their first contribution in #57
- @ermesonqueiroz made their first contribution in #58
- @m-krebs made their first contribution in #60
- @ChanhyukPark-Tech made their first contribution in #62
Full Changelog: 0.4.1...0.5.0