What does Parcel do when I start my React dev server?
Parcel reads your entry file, builds a dependency graph by following imports, transforms JSX and modern syntax, bundles everything into output files, and serves them on a local port with hot reload on file changes.
Verify This Answer
Cross-check this information using these trusted sources:
More FAQs in How Parcel Bundles a React App Behind the Scenes
It starts at an entry file and follows every import statement, finding each file or package and recursing into that file's imports. This produces a graph covering everything your app depends on.
Parcel runs JSX through a transformer, usually Babel, that compiles JSX into React.createElement calls. The browser never sees JSX; it sees regular JavaScript that React can execute.
Code splitting breaks the bundle into smaller chunks that the browser loads on demand, instead of one large file. This keeps the initial load smaller and improves performance for larger apps.
Still have questions?
Browse all our FAQs or reach out to our support team
