- Add possibility to change id generated by `inertia` view helper
html
app.html
{{ inertia(page) }} <!-- will generate <div id="app" ...> -->
{{ inertia(page, "my_app") }} <!-- will generate <div id="my_app" ...> -->
- Add possibility to access `request` in lazy loaded props in Inertia views
python
def lazy_view_with_request(self, view: InertiaResponse):
def is_authenticated(request):
return request.user()
return view.render("Index", {"is_authenticated": is_authenticated})