Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

[1/2] Emotion PoC – SSR Perf. #3677

Closed
1 task
simonsinclair opened this issue Aug 18, 2020 · 1 comment
Closed
1 task

[1/2] Emotion PoC – SSR Perf. #3677

simonsinclair opened this issue Aug 18, 2020 · 1 comment
Assignees
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

Comments

@simonsinclair
Copy link
Contributor

simonsinclair commented Aug 18, 2020

Part 1 of bbc/simorgh#7536.

Is your feature request related to a problem? Please describe.

We know from the profiling conducted in bbc/simorgh#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

  • Remove Styled Components and companion packages.
  • Install Emotion and companion packages.
  • Bump Psammead packages to an RC version. vN.N.N-rc.0

Describe alternatives you've considered

Remove jest-styled-components and babel-plugin-styled-components - meaning no styles in snapshots. This isn't really an alternative.

Testing notes

[Tester to complete]

Dev insight: Will there be any potential regression? etc

  • This feature is expected to need manual testing.

Additional context

n/a

@simonsinclair simonsinclair added ws-articles Tasks for the WS Articles Team technical-work Technical debt, support work and building new technical tools and features cross-team For visibility for both World Service teams (Engage & Media) labels Aug 18, 2020
@simonsinclair simonsinclair added this to Coming Soon in Simorgh Aug 18, 2020
@joshcoventry joshcoventry moved this from Coming Soon to Issue in Progress in Simorgh Sep 3, 2020
@simonsinclair
Copy link
Contributor Author

This work is complete. Please see bbc/simorgh#7772.

Simorgh automation moved this from Issue in Progress to Done Sep 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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
No open projects
Development

No branches or pull requests

1 participant