Mateusz Burzyński

Results 1186 comments of Mateusz Burzyński

`useCSSOMInjection` is used internally by `StyleSheet`: https://github.com/styled-components/styled-components/blob/97c6f70e7de83f6b216bf47245ca1a20bb2df213/packages/styled-components/src/sheet/Sheet.ts#L24 `StyleSheetManager` "translates" `disableCSSOMInjection` to that option here: https://github.com/styled-components/styled-components/blob/97c6f70e7de83f6b216bf47245ca1a20bb2df213/packages/styled-components/src/models/StyleSheetManager.tsx#L46-L48 And the default value for this you can (somewhat) check here: https://github.com/styled-components/styled-components/blob/97c6f70e7de83f6b216bf47245ca1a20bb2df213/packages/styled-components/src/constants.ts#L15-L31

If I remember correctly many people were trying to solve this typing problem in various different libraries and it always came with a severe performance cost. If somebody solves it...

Could you check if this would fix the recently reported issue: https://github.com/emotion-js/emotion/issues/2763 ?

@kyoncy thanks for taking a look. I've pushed out some commits to make this comment detection more strict - we should be able to land this soon. I will just...

Thank you for the report - I've already merged in the fix for this and gonna release a new version in a second.

You can control where the styles should be injected by configuring `insertionPoint` on the cache

Those types don't declare a standalone `cx` helper but rather a function available to render prop of the `ClassNames` component.

This issue lacks a lot of important context - what kind of a script are you running? From what location? What are the characteristics of the target environment? How are...

Well, as you may see the references file exists: https://unpkg.com/browse/@emotion/[email protected]/isolated-hoist-non-react-statics-do-not-use-this-in-your-code/dist/emotion-react-isolated-hoist-non-react-statics-do-not-use-this-in-your-code.browser.esm.js I would love to help you but I don't have access to that environment so you have to dig into...

Yes, you are right - my bad. This issue here won't be fixed soon though. The only viable strategy for us that would "fix" this would be switching to named...