Khan / Khan/aphrodite

Styles flicker in.

Open
#147 26 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.3k
Forks
187
PR merge metrics
No merged PRs in 30d

Description

Hey there,

Loving aphrodite so far. I keep noticing that when my components render on the screen there is a small flicker. The component is first unstyled then styled. I am not using SSR.

Is there a way to preload css functions? Or am I just doing something wrong?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the non-SSR render described in the issue and observe when styles are injected relative to the component appearing. Trace the browser-side style-loading path and determine whether the flicker comes from Aphrodite or the integration. Done means the initial render is styled without requiring SSR, with a regression check for the reported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.