inertiajs / inertia-django

The Django adapter for Inertia.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a reason why render was made a function rather than a class?

IslamNwishy opened this issue · comments

It makes it so much harder to override anything, I want to extend the base functionality to add things like server driven modals, preserving browser url on demand and other things and I find myself needing to do a lot of workarounds due to not being able to inherit from render and extend its functionality so I was wondering if there is a rationale behind this as I'm planning to fork this project just to make the render function into a class.