Comments (12)
+1
from react-starter.
added some comments
from react-starter.
+1 Could still use a better explanation of everything! This kit looks incredibly powerful but I'm not sure how to utilize everything you've done.
from react-starter.
I agree that it is really powerful but I am finding it difficult to understand and customize it to my needs. Would probably do best with a wiki or MD file that explains the design choices of the entire setup if anyone is going to adopt this boilerplate seriously.
from react-starter.
The Features
section in the readme is fairly comprehensive. I'd use that as a starting point and just expand under each point. @sokra if you'd like help I'd be happy to start filling in the more obvious sections.
from react-starter.
Started something here:
https://github.com/webpack/react-starter/wiki/How-does-it-work
from react-starter.
Awesome thank you! 👍
Is there anything we can help with?
from react-starter.
This readme page example might be of interest: #45
It might be of use to document it in markdown.
from react-starter.
As OP says, it is not immediately obvious where to start looking, what the design is, finding the root execution point so to say. I would like to add /README.md
is of great quality as-is, it got me up and running in notime.
But for grasping the overall design i just wrote HowStuffWorks.md with some nudges in the right direction. No details by intention.
Feedback is very welcome!
I'm still sorting out how the stores work.
from react-starter.
Thanks @barrystaes! Great work on the guide. It's short and to the point, exactly what I think we need.
I'd like to see some detail on how pre-rendering works in general terms. I am not using that feature yet but it seems extremely powerful and being able to implement my own system (using marty.js rather than item-store) in the future is an option I would love to have.
I have tried to follow the code for pre-rendering but having a section in "HowStuffWorks" for it would be super useful :)
Also a short guide on entry points and how they are useful would be killer!
from react-starter.
OK i added a prerender paragraph to production mode.
Perhaps it should link to respective websites with more documentation? I rather avoid deeplinks, these just tend to get out of date.
What do you mean with entry points?
I'm still a learner myself, thanks for mentioning marty.js. Should i avoid using the stores as from react-router? I'd like to have a conversation on this, somewhere. I cant afford to investigate every option regarding stores (and Flux).
from react-starter.
Yeah external documentation would be more useful if prerendering using webpack/this method is common.
By entry point I mean the entry point in webpack and using pre-rendering with it. Maybe a use case so we can see why it's useful?
Using item-store is fine, what I meant is that there are many areas related to pre-rendering that are not documented (comments) or explained anywhere. Some of the code is specific to how item-store works, other parts are applicable to any isomorphic application. If I was just beginning to use react and webpack (and I am) I would be seriously lost trying to make a distinction between what areas I can re-implement using my own flux flavor and what areas need to stay static (or implemented a specific way).
I'm not asking you to write a how-to for creating an isomorphic app but comments in code with a more thorough explanation of what's going on or a "general" overview of the process taking place would be extremely helpful.
from react-starter.
Related Issues (20)
- Can't find container issue HOT 1
- What is best way to handle user authentication?
- Cannot find module 'tapable' HOT 8
- Does not work with current version of react-router 1.0.0 HOT 1
- Can's see any css style in page
- Failed Proptype warning
- [OUTDATED]? HOT 3
- npm start
- wwe
- Help me :( Can't start webpack-dev-server
- Get requested domain?
- Error defining includePaths for sass-loader HOT 1
- Request: a way to use the production React build with this HOT 2
- No easy way to include "global" CSS HOT 1
- How to exclude files from prerender? HOT 2
- Where to put <head> HOT 2
- dev server should proxy api instead of vice versa
- Plugin system?
- React Router injected `query` prop
- vagrant installation method issues HOT 5
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 react-starter.