[2/2] Emotion PoC – SSR Perf. #7536
Labels
cross-team
For visibility for both World Service teams (Engage & Media)
technical-work
Technical debt, support work and building new technical tools and features
ws-articles
Tasks for the WS Articles Team
Projects
Part 2 of bbc/psammead#3677.
Is your feature request related to a problem? Please describe.
We know from the profiling conducted in #6922 that upgrading to Styled Components v5 will grant us an additional 17% (~4 requests/sec) server throughput.
Unfortunately Styled Components v5 has a bad interaction with two companion packages we're using. These issues were raised last year and are yet to be resolved.
Additionally, Styled Components v4 dependencies have severe vulnerabilities.
We need to solve this as soon as possible and would like to trial a competitor CSS-in-JS library – Emotion.
Describe the solution you'd like
Describe alternatives you've considered
Remove
jest-styled-components
andbabel-plugin-styled-components
- meaning no styles in snapshots. This isn't really an alternative.Testing notes
Dev insight: Will there be any potential regression? etc
Additional context
n/a
The text was updated successfully, but these errors were encountered: