Comments (3)
Hi @reddhouse,
Thanks for flagging this.
So the issue here is that the CSS is loaded inline with the Javascript payload (it is contained within bundle.js
) in the version deployed. Because Webpack is not instructed to break out CSS dependencies into separate payloads this means that it is served just like the JS, asynchronously, which explains the page showing the unstyled content initially.
The current version of 3ree addresses this though so I'll need to update the deployed version which I'll do later today, then the CSS will be loaded synchronously and you won't see an unstyled version of the app.
For clarity though this issue is resolved by using the ExtractTextPlugin and updating webpack.config.js
to optionally use this plugin for bundling CSS when building for non-development environments. See here
from 3ree.
Ah, good to know there is a solution to this. I'll keep an eye out for the refreshed UI on the demo site.
from 3ree.
FYI I have just deployed an updated version!
from 3ree.
Related Issues (20)
- Is Jade Necessary? HOT 4
- Sorry there is no Error
- Required prop `location` HOT 1
- Add Unit Tests HOT 1
- Add ESlint HOT 4
- not updating between multiple browsers HOT 1
- Upgrade to Babel 6 HOT 3
- Having a grandparent directory named 'src' causes bug HOT 2
- Move to react-router-redux HOT 10
- Error on npm start HOT 11
- NOT an Issue - More a Question - Account Integration HOT 7
- rethinkdb not installed as global
- Misc HOT 3
- Unhandled rejection TypeError when loading page HOT 11
- Error running project on Windows HOT 3
- Warning: React attempted to reuse markup in a container but the checksum was invalid HOT 3
- Any plans to add auth? HOT 4
- Why not add PostCSS and Autoprefixer?
- Can't Install on Ubuntu 16.04.1 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 3ree.