as soon as I put the input at the 'top' element,
it immediately re-render the component at 'each text' I type in
which makes it impossible for me to keep writing new texts ...
import styled from 'styled-components'
const StyledSpan = styled.span`
color: blue;
`
const MyExampleComponent = () =>{
return <StyledSpan>Test</StyledSpan>
}
this will result in same error
import styled from 'styled-components'
const StyledSpan = styled.span`
color: blue;
`
const MyExampleComponent = () =>{
return <StyledSpan>Test</StyledSpan>
}