Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ianzone/react-mobile
https://github.com/ianzone/react-mobile
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ianzone/react-mobile
- Owner: ianzone
- Created: 2024-04-15T15:05:32.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-04-15T15:05:34.000Z (9 months ago)
- Last Synced: 2024-04-20T00:30:03.015Z (9 months ago)
- Language: TypeScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![Lefthook](https://img.shields.io/badge/Lefthook-ff1e1e?labelColor=grey&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDAwIiBoZWlnaHQ9IjI3MiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSIjRkYxRTFFIiBkPSJNMjU4IDI2Mi42TDE0OSAyMTBsLTcyLjQgMjIuM0w1IDE5Ny44bDc2LjctOTguNC0xMy4xLTI0LjVMMTEwLjggMzZsNjUuNC0yLjdMMjUxLjkgNSAzODYuNyAxNTAgMzIzIDI0Ni42eiIvPjxwYXRoIGQ9Ik04My4yIDE2Ni44YzI4LjYgOC42IDU4LjUuNiA4OS45LTI0LjFsMTQ3IDk1LjItMzAgMTguNWgtNDlsLTc3LjUtMzguMi03MC44IDE4LTgwLjQtMzYuNkw2OS43IDE3MGwxMy41LTMuMnptNTItMTEyLjdjMTAuMy0yLjcgMzEuNyAyMi4zIDMyLjcgMjguNCAzLjggMjEuMiA1LjQgMzUuNS0yMC43IDU2LjRhNjkuOCA2OS44IDAgMCAxLTU2LjUgMTUuN2w1LjItMjMuM0w3NyA5My43YTk2LjYgOTYuNiAwIDAgMSA1OC4xLTM5LjZ6IiBmaWxsPSIjQkYwMDAwIi8+PHBhdGggZD0iTTkwLjUgMjQzLjZsLTEuNy41TC4zIDIwNC4zbD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YuNCA1OC42di4xYTU3IDU3IDAgMCAxLTQuMyA1LjZjLTQuMiA0LjgtOS4zIDkuNS0xNi4zIDE1LjJhNjMuNCA2My40IDAgMCAxLTMwLjMgMTIuOCA2NiA2NiAwIDAgMS0xOS4xLjNsLTE4LjUgMjlhMjgwNzQuNyAyODA3NC43IDAgMCAxIDQ5LjUgMjcuNnYtLjJjNTEtMi43IDg0LTMzLjYgMTE1LjktODQuMy0yNC40IDUxLjgtNTQuNiA4NS0xMDEuMiA5Mi44IDkuOCA1LjQgMTguNiAxMC40IDI2LjYgMTUgNTAtMy4zIDgwLjItMzAuNyAxMTEuOC04MC45LTI0LjEgNTEuMi01MS45IDgxLjQtOTcgODkuMmE1NTAuNyA1NTAuNyAwIDAgMCAxNC43IDggNzUgNzUgMCAwIDEtLjUtLjUgMjIyLjMgMjIyLjMgMCAwIDAgNS41IDMgNDEwIDQxMCAwIDAgMCA4LjMgNGM0OS44LTMuMiA3Ny42LTI3LjEgMTA5LjItNzcuMy0yMy4yIDQ5LjMtNDggNzYuNS04OS43IDg1IDMwLjUgOSA1NS4yIDMuNSA4MC0xMiA4LjUtNS41IDI4LjktMzQuNSA2MS04Ny4yTDI1My42IDE2LjQgMjAxIDExMC4yYTE3Mi45IDE3Mi45IDAgMCAxLTMwLjEgMzguNCA5NCA5NCAwIDAgMS02Mi40IDIxLjV6IiBmaWxsPSIjM0MwMDAwIi8+PC9zdmc+Cg==)](https://github.com/evilmartians/lefthook/)
[![typescript](https://badges.aleen42.com/src/typescript.svg)](https://www.typescriptlang.org/)
[![vite](https://badges.aleen42.com/src/vitejs.svg)](https://vitejs.dev/)
[![vitest](https://img.shields.io/badge/Vitest-729b1b?logo=Vitest&labelColor=grey)](https://vitest.dev/)
[![react](https://img.shields.io/badge/React-149eca?logo=React&labelColor=grey)](https://beta.reactjs.org/)
[![biome](https://img.shields.io/badge/Biome-blue?logo=biome&labelColor=grey)](https://biomejs.dev/)
[![stylelint](https://img.shields.io/badge/Stylelint-blue?logo=Stylelint&labelColor=grey)](https://stylelint.io/)
[![pnpm](https://img.shields.io/badge/pnpm-orange?logo=pnpm&labelColor=grey)](https://pnpm.io/)# Get it started
```
degit ianzone/react-template
cd
pnpm i
pnpm run dev
```# Folder structure
| Folder | Description |
| ----------- | ------------------------------------------------ |
| assets/ | Static assets such as images, videos, audios... |
| components/ | Pure components |
| containers/ | Components with business logics and side effects |
| contexts/ | Shared contexts |
| hooks/ | Stateful functions |
| utils/ | Stateless functions |
| pages/ | Pages |
| services/ | API calls |
| styles/ | Global css, fonts |# TODO
replace stylelint with biome when css support is done. https://github.com/biomejs/biome/issues/268
# Routing
[TanstackRouter](https://tanstack.com/router/latest)
# Query
[TanstackQuery](https://tanstack.com/query/latest)
# Styling
[TailwindCSS](https://tailwindcss.com/docs/guides/vite)
# PWA
[vite-plugin-pwa](https://vite-pwa-org.netlify.app/)