Laravel Inertia React Frontend Structure Based on Spatie's conventions for structuring production Laravel Inertia React applications. Directory Structure Four base directories under : common vs modules : ask "Does it relate to a domain or feature?" If yes → . If it's generic and project-agnostic → . Naming Conventions - Components and React contexts : (e.g. , ) - Other files (helpers, hooks, constants, stores): (e.g. , ) - Directories : (e.g. , ) Module Organization Small modules have a few top-level files. Larger modules organize by type: The directory follows the same structure. Pages Direc…