Comments (6)
I've only done it with client-side projects so you might be right, just a few days ago a contributor to webpack made a blog saying he is able to achieve the first real code splitting universally (it's merged into webpack but not released yet): https://medium.com/faceyspacey/announcing-react-universal-component-2-0-babel-plugin-universal-import-5702d59ec1f4
At some point I'd like to look into that and maybe make an overhaul of this project using what is mentioned there.
from universal-react.
I looked through the change log and I think it's been merged. Will see if I can get it working today.
from universal-react.
Looks like the required code has been added to webpack it just hasn't made it over to NPM yet. Will try and get it working once it comes out.
from universal-react.
Got it working on my fork https://github.com/quantumninja/universal-react but there is an issue with code flashing up so working on fixing that next.
from universal-react.
Nice! I'll have a look at this when I've got some time. Saw your post on the universal github page, yep probably a good idea to see if you can build something off of that one and see if you have the same issue. I was thinking about doing a major refactor on this to more closely reflect the example from that blog too.
from universal-react.
I started on it but haven't had any luck getting it to work with your repo yet. I've gone back and am trying to build from scratch at the moment. The number of interacting elements on this really doesn't help.
from universal-react.
Related Issues (20)
- Update history version HOT 1
- Minimum universal react API HOT 2
- Can't run server HOT 2
- app/index.js: Unexpected token (2:7) HOT 4
- Axios example HOT 1
- State set in Routes.js is overwritten in Routes.js
- HTTP 200 is sent on page not found HOT 5
- Hot reload not working (windows 8.1) HOT 2
- Immutable HOT 2
- componentDidMount & duplicate data ... HOT 4
- Add to redux docs HOT 1
- What about styles? HOT 1
- Built error: "BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders. You need to specify 'babel-loader' instead of 'babel'." HOT 2
- Error HOT 1
- SASS implementation example
- Unable to add styles HOT 7
- Had to downgrade to React-Router v3.0.5 HOT 1
- Possible issue with declaring production environments HOT 3
- Adding universal CSS import support HOT 2
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 universal-react.