atlassian-labs / compiled

A familiar and performant compile time CSS-in-JS library for React.
https://compiledcssinjs.com
Apache License 2.0
1.98k stars 68 forks source link

Improve error message for createStrictAPI() #1571

Closed itsdouges closed 9 months ago

itsdouges commented 9 months ago

Currently it shows the standard error message which isn't helpful. This updates that.

changeset-bot[bot] commented 9 months ago

🦋 Changeset detected

Latest commit: 219cc5013307166a8cf2aef4471a059384ca6d5e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------- | ----- | | @compiled/react | Patch |

Not sure what this means? Click here to learn what changesets are.

[Click here if you're a maintainer who wants to add another changeset to this PR](https://github.com/atlassian-labs/compiled/new/improve-error-message?filename=.changeset/lemon-flies-provide.md&value=---%0A%22%40compiled%2Freact%22%3A%20patch%0A---%0A%0AImprove%20error%20message%20for%20createStrictAPI()%0A)