Update README.md

This commit is contained in:
2026-03-31 17:52:21 +00:00
parent d97cee12ee
commit f0ab9fc575

View File

@@ -10,7 +10,7 @@ def current_user(request) -> UserShape:
return UserShape.query(lambda qs: qs.filter(pk=request.user.pk))[0] return UserShape.query(lambda qs: qs.filter(pk=request.user.pk))[0]
``` ```
Djarea generates the entire React client: all your type interfaces, function call hooks, automatic JWT, and a simple <DjangoContext/> to make it all work. No API routing, no serializers, no REST/CRUD bullshit. Djarea generates the entire React client: all your type interfaces, function call hooks, automatic JWT, and a simple `<DjangoContext/>` to make it all work. No API routing, no serializers, no REST/CRUD bullshit.
```tsx ```tsx
const user: UserShape = useCurrentUser() // typed, cached, SSR-hydrated const user: UserShape = useCurrentUser() // typed, cached, SSR-hydrated