erikras / erikras/react-redux-universal-hot-example

There is

Open
#1,292 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

While rendering style files are received after html. Hence, before each refresh of the page, it shows plain HTML of the page and then apply style from the received file.

So, my questions.
**1)** How to avoid this?
There is react-inline-css plugin listed in package.json in the repository though it's not being used be existing components. How can I use it in the existing boilerplate?

Also, IMHO, using the way to mention `className` as `className={styles.classA}` is of no benefit, I guess. I could simply have `require/import` the file in the `jsx` file and added classes simply like `className='classA'`

**2)** Since, there isn't any caching mechanism in the boilerplate, how to add it?

Thanks

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.