[V2] Double extend not working in v2.0.0-17
See original GitHub issueHi, extending an already extended styled-component is not working in v2.0.0-17.
const a = styled.div`...`
const b = a.extend`...` ---> works
const c = b.extend`...` ---> not working
I hope this explains the issue enough, otherwise I can create an example gist
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:6 (5 by maintainers)
Top Results From Across the Web
exited with code=0 in 0.074 seconds - Output window has ...
It seems like the 'Code Runner' extension caused it. You can try to disable it to use 'Python' extension instead.
Read more >Undenatured type II collagen (UC-II®) for joint support - NCBI
Undenatured type II collagen (UC-II®) for joint support: a randomized, double-blind, placebo-controlled study in healthy volunteers.
Read more >STS8DNF3LL
Dual N-channel 30 V, 0.017 Ω typ., 8 A, STripFET™ II. Power MOSFET in a SO-8 package. Datasheet - production data. Figure 1....
Read more >CLinical EValuation of WEB 0.017 Device in Intracranial ...
class I: complete obliteration; class II: residual neck; class III: residual aneurysm. Incidence of major stroke or neurological deaths [ Time Frame: ...
Read more >1/8" (0.125) Inch Outer Diameter Stock Extension Springs
TSS Part# Outer Diameter by Fractions Outer Diameter (in.) D...
PE011‑125‑15.864‑MW‑0.340‑MH‑Z‑IN 1/8 = 0.125
PE012‑125‑14.709‑MW‑0.340‑MH‑N‑IN 1/8 = 0.125
PE008‑125‑26.063‑MW‑0.380‑MH‑N‑IN 1/8 = 0.125
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Lots of indirection in that example 😅 Removing all the media queries, the first
<Title />
styles are no longer applied. (notice the wrong font-family)Live demo: https://codesandbox.io/s/l7mGk5jg
Hi @philpl, thanks for the investigation: here is the example where it goes wrong: https://codesandbox.io/s/E93KZjYR0
As you can see it never renders the other two background colors.