Viktor Havrylin
Viktor Havrylin
But `StyleSheetManager` can be used multiple times, for example, in my project I have three instances of StyleSheetManager, because I have three local frames created by react-frame-component.
@enderlabo Firstly, you have an extra bracket in second media query. Secondly, please, provide a reproduction with https://codesandbox.io
@gregorianisch create-react-app now has official TypeScript support and has already migrated from UglifyJS to terser. Maybe upgrade of your toolset can help you.
Added failing test https://github.com/styled-components/styled-components/pull/2128
@mxstbr but it's not SSR bug in total
@mxstbr I get it. I just made a little research and found difference in behavior: without StyleSheetManger `StyleSheet.deferredInject` is used, and with StyleSheetManger - `StyleSheet.inject`.
Don't think that it is expected behavior. Also example from docs https://www.styled-components.com/docs/basics#attaching-additional-props works in similar way: 
@shiningjason @mxstbr What's interesting is that [email protected] works much the same but instead of camelCase props are inserted in lowercase and React doesn't warn about this. 
Fixed in #2133 However, pay attention to #2093. It will add new way to tell which attributes should pass as html attributes
@probablyup @mkascel Similar to https://github.com/Pomax/react-onclickoutside/issues/231#issuecomment-333174275 there was two versions of `react-dom`. https://github.com/styled-components/styled-components/pull/2142 will fix it