New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Placeholder <style> tag ignored by rehydration logic #1845
Comments
Could any contributors confirm that this logic is indeed still intended to work? Or can anyone provide a working example of this logic? |
This does appear to be a bug I think @kitten |
Tried downgrading to 3.2.3 (as per here) and still getting issues... any ideas? Again we're not using SSR. I also see that there's a test for this logic, injectGlobal. |
I’m looking into this as I have bandwidth, fyi. |
Any chance of getting support for this in 5.0? Thanks |
I can't make any promises. Getting this to work requires a major refactoring to the way our Stylesheet works. I tried to fix it for 4.0 and couldn't make any useful progress. |
Thanks for the update. Internally we've switched to emotion but it would be great to switch back as s-c can be a joy to work with :) Is it ok for me to make a PR against the documentation repo? |
I thought this was already implemented and just checked that this feature have been removed from the documentation :( |
I don’t think it was ever added to the docs, and as-is is half implemented so that's probably for the best.
|
I think it was removed 16 days ago: styled-components/styled-components-website@c3fe582#diff-badb5964ab969ebb5836d448e2d4c3b8
|
Any news on this? Any chance to have this supported? |
Nope. We’ll look at it after v4 is out
…On Wed, Oct 10, 2018 at 6:22 AM Fabrizio Ruggeri ***@***.***> wrote:
Any news on this? Any chance to have this supported?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1845 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAiy1rRvrT8vtiUlsSNwQqTFybRFTgT-ks5ujdhsgaJpZM4VOp_N>
.
|
We were moving a site with existing external styles and styled-components v2.x to the latest v4 and ran across this issue. The external styles require the global style be loaded after the Is there any method that exists to specify the location of the style tag in the head? Thanks! |
Now that version 4 is out, has this issue been resolved? |
I've taken a crack at this in #2463 😄 |
When will this problem be fixed? |
Just bumping for a review of #2463 :) |
any plan to merge this on future release? #2463 |
Closing due to age, inactivity, missing reproduction, or lack of details. |
(I haven't provided a failing test PR because I'm unsure how to use Jest, apologies)
Environment
npx envinfo --system --binaries --npmPackages styled-components,babel-plugin-styled-components --markdown --clipboard
breaks, here's what it looks like:I'm using
styled-components@^3.3.3
Reproduction
https://codesandbox.io/s/oq1j5q52n9
Please inspect the head of the document in the iframe. It should look like this:
and the template document, you should be able to observe the following:
Steps to reproduce
<App />
into:<style data-styled-components="true"></style>
(Documentation Source)Expected Behavior
Actual Behavior
<head>
The text was updated successfully, but these errors were encountered: