question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

React 18 - Chakra UI v2

See original GitHub issue

We are starting the development of Chakra UI v2 🎉

The scope of this upcoming major release is to support React 18 and remove long known deprecations. We keep the scope as narrow as possible to provide feature-scoped major releases to all our users and a smooth upgrade experience.

We switched our default branch from main to next. This allows us to publish the pre-release version á la @chakra-ui/react@2.0.0-next.X. The first next release was published moments ago.

With this in place, we can test the React 18 support in our applications and resolve upcoming issues until we are confident to release Chakra UI v2.

If you experience any React 18 related issues or tips we should know about, feel free to comment below and we’ll look into it.

Upgrade guide

  1. Update react, react-dom and their respective @types/ package to version 18
  2. Upgrade to the next pre-release
  3. Test and report any issues you have below.

Join our Discord Server for React 18 issues: https://discord.gg/kfp3UQh4Y2

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:214
  • Comments:50 (19 by maintainers)

github_iconTop GitHub Comments

59reactions
TimKolbergercommented, May 12, 2022

We just released version @chakra-ui/react@2.0.0 🎉

It’s the https://chakra-ui.com/ website for the latest version of Chakra UI. You can find our Migration Guide to v2 here: https://chakra-ui.com/guides/migration

For our v1 docs head over here https://v1.chakra-ui.com/

31reactions
vanektcommented, Apr 18, 2022

You probably already know about this one but just in case -> the overlay from modals is not disappearing after closing them.

(Someone reported it already: #5321)

I had the same issue with modals. When I updated framer-motion to 6.3.0, the problem was solved

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrading to v2 - Chakra UI
Chakra UI v2 is focused on providing compatibility for React 18. Doing so we had to introduce some breaking changes. That lead us...
Read more >
@chakra-ui/react - npm
Responsive and accessible React UI components built with React and Emotion. Latest version: 2.4.4, last published: 9 days ago.
Read more >
Chakra UI pricing page with React 18 - Objects are not valid ...
I am trying to figure out how to use the Chakra UI pricing page with React 18 in my app. I am currently...
Read more >
A simple change improved Chakra UI's PageSpeed significantly
I've noticed that the PageSpeed scores for https://chakra-ui.com were not that great. ... 2. 3import { Box, BoxProps } from '@chakra-ui/react';.
Read more >
chakra-react-select examples - CodeSandbox
Learn how to use chakra-react-select by viewing and forking ... React 18 + Chakra 2 + CRS 4 vs RJSF/chakra-ui 5 exampleA simple...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found