weblancaster / seed-react-project

[DEPRECATED] Yet another React boilerplate to rapidly and easily start a React stack component focused project from scratch without the tedious configuration work.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seed React project

At the moment this repository is deprecated, although you can still use as reference the architecture and some parts of the code. I advocate to start using React Create App. Thanks!

Yet another React boilerplate to rapidly and easily start a React stack project from scratch without the tedious configuration work.

Main Modules/Feats

Project Structure

Redux docs example of folder structure, it's good for todo examples but not for real world application so (DO NOT FOLLOW THIS PATTERN).

| src
    | actions
        | all actions files
    | components
        | all components files
    | container
        | all containers files
    | constants
        | often one contant file?
    | reducers
        | all reducers files
    | store
        | one store file
|

After building/architecting a couple of React/Redux applications I have found that the structure defined in this repo is the most productive and scalable so far. But as everything there is always space for improvements so please let me know your ideas. (SUGGESTED PATTERN)

| src
    | index.html
    | index.js (root route file)
    | shared
        | index.reducer.js
        | index.store.js
        | constants.js
        | utils.js
    | featureBla
        | featureBla.actions.js
        | featureBla.container.jsx
        | featureBla.reducer.js
        | featureBla.styles.css
        | test
            | featureBla.actions.test.js
            | featureBla.reducer.test.js
    | core (core UI components)
        | core.css
        | main.component.jsx
        | notFound.component.jsx
        | styles
            | base.css
            | grid.css
|

About

[DEPRECATED] Yet another React boilerplate to rapidly and easily start a React stack component focused project from scratch without the tedious configuration work.


Languages

Language:JavaScript 92.3%Language:CSS 3.9%Language:HTML 3.8%