Update README.md
This commit is contained in:
@@ -10,7 +10,7 @@ def current_user(request) -> UserShape:
|
||||
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
|
||||
const user: UserShape = useCurrentUser() // typed, cached, SSR-hydrated
|
||||
|
||||
Reference in New Issue
Block a user