guardian / guardian/dotcom-rendering
Disable rendering of some components in Preview
Open
- Dominant language
- TypeScript
- Stars
- 274
- Forks
- 34
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 121
Description
Preview allows journalists to see what their article will look like on the website before the article is published. It renders the article using DCAR under the hood, and includes all the components that DCAR usually renders. In most cases this is fine, but some components are arguably unnecessary, add friction and complexity:
- Most viewed containers are very chatty with CAPI. We've seen this butt up against [CAPI's circuit breaker](https://github.com/guardian/frontend/issues/27399#issuecomment-2962228022). This is unnecessary complexity which can lead to instances failing.
- Any others..?
Contributor guide
Assessment
This issue has not been assessed yet.