Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suppress invalid hook call warning for react 18 #3564

Conversation

lynndylanhurley
Copy link

This applies the same fix from #3521 to the legacy-v5 branch.

References #3521
References #3394
References #3409

@lynndylanhurley
Copy link
Author

@eps1lon @probablyup this applies the same fix from the v6 branch (main) to the legacy-v5 branch. The hope is that this is a small enough change that a patch release can be pushed to resolve the issue.

@lynndylanhurley lynndylanhurley force-pushed the suppress-react-18-invalid-hook-call branch from 2f38179 to 89d7576 Compare August 21, 2021 16:46
@kitten kitten merged commit 7e56e99 into styled-components:legacy-v5 Aug 21, 2021
@lynndylanhurley
Copy link
Author

Thanks @kitten! I'm happy to test this out if you can tag a new test release.

@kitten
Copy link
Member

kitten commented Aug 21, 2021

@lynndylanhurley Sure thing! I've created a new prerelease with the corresponding tag:

Package Version
styled-components@pr3564 5.3.1-pr3564

@lynndylanhurley
Copy link
Author

@kitten been using this for the past couple of days with the latest version of react 18. the issue has been resolved for me.

timiscoding added a commit to Back2Dev/attendance that referenced this pull request Aug 26, 2021
timiscoding added a commit to Back2Dev/attendance that referenced this pull request Nov 9, 2021
* tim-survey-builder: (26 commits)
  add readme
  Question types render own Inspector properties. Update parts atom to include type config.
  Enable importing absolute paths. Restructure folders.
  Recoil devtools. Mobile navbar views. Move items with animation.  Dnd lock axis.
  Improve mobile responsive for frame + single type. Refactor DND to avoid unneeded part rerenders.
  Short answer integration
  Start adding mobile responsiveness. Fix recoil not working in ios. Fix storybook startup issue due to new Framework imports.
  Fix ios bug where any component using react-tabulator eg. admin/forms/list won't show list items. see ngduc/react-tabulator#215
  Add ios build
  Add dragndrop for canvas
  Reinstalling storybook
  Load editor's json into builder. Builder can update editor source on clicking save. Update DND. Update placeholder type.
  Enable builder in editor without blowing up. Fix circular imports.
  Refactor recoil state. Load json and save source. Fix error in engine.js when using strict mode.
  Add toolbar to generate source. Refactor to make it easier to add new question types.
  Update single item styles
  Reduce storybook startup time. Update dnd for single items.
  Fix recoil + rbd bug github/facebookexperimental/Recoil#496 Fix styled-components bug github/styled-components/styled-components#3564
  Merge in Minh's short question code. Add dnd to single items.
  EditProperty can auto render with complex paths Modify single items in canvas and inspector
  ...
aplavsa pushed a commit to aplavsa/styled-components that referenced this pull request Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants