inertiajs / inertia-django

The Django adapter for Inertia.js
MIT License
326 stars 32 forks source link

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

Open IslamNwishy opened 1 year ago

IslamNwishy commented 1 year ago

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.