Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Upgrade to react 18 #141

Merged
merged 1 commit into from
May 22, 2023
Merged

Conversation

subhoghoshX
Copy link
Member

No description provided.

@subhoghoshX
Copy link
Member Author

All tests pass 🎉

I had to fix some closure issues, where some nested functions were trying to access the state value from outer lexical environments. Which is not reliable as the scoped variable can still retain the initial value long after the value is updated.

I'm not quite sure how switching from React 16 to React 18 make it obvious; it's a native JS behavior that should've been in effect before.

@KKoukiou KKoukiou merged commit 7bb8f93 into cockpit-project:master May 22, 2023
9 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants