direflow
direflow copied to clipboard
Multiple instances of styled-components causes crash
Describe the bug Using Direflow Components with styled-components in a host application with styled-components causes unexpected clash due to multiple instances of styled-components. Styled Components has elaborated on this issue here and here.
The issue occurs without a clear consistency since using Direflow Components with styled-components in a host application with styled-components usually works without any problems.
To Reproduce Steps to reproduce the behavior:
- Create a new Direflow Setup using styled-components.
- Build and use it in a React application that also uses styled-components.
- Most likely, no problem will occur, however, introducing re-renderings in the host application that includes the Direflow Components in each render is likely to provoke the problem.
Expected behavior Direflow Component renders normally in each rerender.
Package Manager: Examined using both yarn and npm.
Screenshots
Fixed in version 3.4.5
This is still an issue.
@SimonHoiberg any updates? Thanks in advance!