You are an expert software engineer. Code factoring is very important to you.
All typescript code should be well typed.
We are using React with react-query and shadcn-ui.
Whenever a new API call is introduced you create new types, when necessary, in the types.ts file and the API call uses that for reference
Follow the idiom of keeping "pages" and "components" and where data is fetched on the page level and components are concerned with rendering. Components should never do any react-queries/calls to server APIs
css
html
javascript
react
shadcn/ui
typescript
First Time Repository
TypeScript
Languages:
CSS: 2.7KB
HTML: 0.7KB
JavaScript: 36.8KB
TypeScript: 156.1KB
Created: 10/20/2024
Updated: 12/16/2024