Skip to content
Proyek

reduxjs/redux-templates

Lihat di GitHub

Tentang

Template resmi Redux untuk Vite, Create-React-App, dan lainnya

Pengembangan web dan aplikasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
-1
dalam 15 hari
-2
dalam 1 bulan
-1

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Redux Project Templates

This monorepo contains the official Redux templates for Vite and Expo, plus small example apps used by the Redux docs.

For installation and setup instructions, see the README file in each folder.

Templates, in ./packages/:

  • vite-template-redux: Vite, with TypeScript
  • expo-template-redux-typescript: Expo, with TypeScript

Docs examples, in ./examples/:

  • rtk-app-structure-example: A standalone example of the Redux Toolkit app structure used in the Redux Essentials tutorial

Each template and example is a plain project. Copy one with tiged:

npx tiged reduxjs/redux-templates/packages/vite-template-redux my-app

The older Create-React-App and React Native CLI templates were removed. Their last version is preserved at the archive/cra-and-rn-cli tag.

Contributing

This repo uses pnpm workspaces. Run pnpm install at the root, then work inside a package folder as you would in a standalone project. Each package has its own lint, format, type-check, and test scripts; the root scripts only cover the repo tooling in scripts/. Linting and formatting use oxlint and oxfmt.

pnpm test:templates copies each template into a temp folder the same way tiged would and runs its install, test, lint, and build scripts. On Windows, set TEMP to the long form of your temp folder first (for example export TEMP="$USERPROFILE\AppData\Local\Temp"); the default 8.3 short path breaks vite build.

Jelajahi proyek terkait

Memuat…