Loading tutorials
import and export syntax in TypeScript or modern JavaScript. You should also have built a small or medium React app with npm and a bundler such as Vite or webpack.3 min readimport and export in TypeScript. You should also know how to run a Vite or webpack project.2 min readimport and export, and have built a small or medium React app. It shows how to turn a feature, such as a shopping cart, into a self-contained module.2 min readtsconfig.json, and that you use Vite or webpack and have a feature-based folder layout like the one from the earlier chapters.2 min readuseState, useMemo, useEffect). It also assumes you have read the earlier chapters on feature modules and component layers.2 min readuseState, props, context, and the feature-module layout from the earlier chapters. The goal is a repeatable way to choose where each piece of state belongs.2 min readfetch. It also assumes you have read the earlier chapters on feature modules and where state lives.2 min read@/ path alias.2 min readindex.ts public API, and the @/ path alias from earlier chapters.2 min readimport and export, and run a bundler such as Vite or webpack. You should also know the basics of React Router and the feature layout from earlier chapters.3 min readcomponents/, hooks/, and utils/ folders. The goal is to move that app to feature modul2 min readindex.ts file) and lint rules that enforce them. It also assumes you know npm and a bundler such as Vite. Most teams do not need a monorepo. This chapter helps you decide when you do, and shows what the first 3 min read