Skip to content

Instantly share code, notes, and snippets.

@nijicha
nijicha / install_nodejs_and_yarn_homebrew.md
Last active May 20, 2022
Install NVM, Node.js, Yarn via Homebrew
View install_nodejs_and_yarn_homebrew.md
View folder-structure.md

Folder Structure

Please note

While this gist has been shared and followed for years, I regret not giving more background. It was originally a gist for the engineering org I was in, not a "general suggestion" for any React app.

Typically I avoid folders altogether. Heck, I even avoid new files. If I can build an app with one 2000 line file I will. New files and folders are a pain.

View react-app-file-structure
.
├── actions
├── stores
├── views
│   ├── Anonymous
│   │   ├── __tests__
│   │   ├── views
│   │   │   ├── Home
│   │   │   │   ├── __tests__
│   │   │   │   └── Handler.js
@staltz
staltz / introrx.md
Last active May 28, 2022
The introduction to Reactive Programming you've been missing
View introrx.md