How is a "component" different from a "view"?
A view is made up of many components.
How to Structure React Projects
11–20 of 45 posts
Re: How to Structure React Projects
#12How is a "component" different from a "view"?
Re: How to Structure React Projects
#13Earlier quoted context omitted.
A view is made up of many components.
Most of your components should be made up of smaller components. I'm not sure why this distinction is useful?
Re: How to Structure React Projects
#14Earlier quoted context omitted.
A view is made up of many components.
Most of your components should be made up of smaller components. I'm not sure why this distinction is useful?
I feel adding vocabulary like this to a system can help with understandability. That's the point I made with a "feature". It's something that could fit between views and components.
Atomic design (http://patternlab.io/) is close to this idea.
Re: How to Structure React Projects
#15How is a "component" different from a "view"?
Re: How to Structure React Projects
#16How is a "component" different from a "view"?
A view is made up of many components.
Re: How to Structure React Projects
#17This is great! One of the most confusing things with React and Angular or in fact any other non convention-over-configuration framework is how you go about building your project. Structure is super important, and this resource looks good. I would add a demo application on Github that does handle data (something super simple will suffice), just so people can fork the project and take it from there. I know for me, when…
Re: How to Structure React Projects
#18I'm particularly in awe because I just visited the ReactJS site to find out what all the fuzz is about and it makes the bold claim "just the UI", and "the V in MVC".
Re: How to Structure React Projects
#19I'm not in tune with the whole web thing, but nothing says overbearing framework like "structure guides" and scaffolding tools. I'm particularly in awe because I just visited the ReactJS site to find out what all the fuzz is about and it makes the bold claim "just the UI", and "the V in MVC".
Re: How to Structure React Projects
#20Just the other day I started with https://github.com/fortruce/react-fullstack-skeleton/ as a minimal skeleton for a new project of mine. Having not developed with "modern" Javascript yet, and only having used React by itself this was quite a convenient way to get started. Most other skeleton projects were too much, too huge for my taste when getting started. It has: * react-hot-loader which causes your changed to get…