TheSoftwareHouse / react-starter-boilerplate

A highly scalable React SPA boilerplate focused on performance and best practices, written in TypeScript.
https://tsh.io/
MIT License
66 stars 19 forks source link

fix: fix wdyr issues with hooks order #167

Closed MieszkoTSH closed 7 months ago

MieszkoTSH commented 7 months ago

image importing why did you render asynchronously causes some issuew with order of hooks. Current changes prevents those errors as well as prevents why did you render from being included in production bundle

changeset-bot[bot] commented 7 months ago

⚠️ No Changeset found

Latest commit: 27c7c4459bc590103f6d3998de362ed11c6983ac

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR