Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
Suggestion
From#6843 (comment), referring to all the logical ternaries inPlayground.tsx
:
i have a feeling that i should extract this to separate component, this and/or condition chain is getting complex
There are indeed a lot of logical conditions in that file. It'd be nice to streamline the logic a bit to be more readable / straightforward / less complex. Maybe a dedicated component or two? Maybe an enum that gets switched on in render logic?