Files
tuono/README.md
T

35 lines
627 B
Markdown
Raw Normal View History

2024-05-02 20:54:07 +02:00
# Tuono
2024-04-27 10:10:50 +02:00
2024-05-02 20:49:46 +02:00
> The fullstack react/rust framework.
Tuono (Italian word for "thunder", pronounced /2 Oh No/).
Why Tuono? Just a badass name.
2024-04-27 10:10:50 +02:00
> This project is under heavy development. API might drastically change!
## Features
- Rust based server side rendering
- FS routing
- CSS modules
- React Server Components*
2024-04-27 10:10:50 +02:00
## Folder structure
```
- .tuono
2024-04-27 10:10:50 +02:00
- public/
- src/
| - routes/
| | - api/
```
2024-05-11 15:08:49 +02:00
```tsx
// Data is passed by the loading function
const IndexPage = ({data, isLoading, isError}) => <h1>Index Page</h1>
export const Route = createFileRoute({
loader: (params) => fetchApi(params),
component: IndexPage
})
```