Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use strict mode in function which use
this
Without "use strict", `this` will be set to `globalThis` which is typically the window object. If certain properties are set on the window object (e.g. "window.target"), this can cause problems for the `css` and `styled` functions. Instead, "use strict" ensures that `this` will only have a value if it is explicitly bound, and otherwise will be `undefined`. Closes cristianbote#545
- Loading branch information