Folder pattern I’m enjoying: “Local” shared directories


Folder pattern I’m enjoying: “Local” shared directories.

1. First, create a shared directory at the root. This contains code shared across the entire project.

2. Create a shared directory in specific subfolders for code that's shared by a subfolder.

This conveys when something is globally reusable vs only locally reusable.

Example:

View original on X