Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
IslamNwishy opened this issue Nov 17, 2023 · 2 comments
Closed

Comments

@IslamNwishy
Copy link

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.

@BrandonShar
Copy link
Collaborator

Hey @IslamNwishy, I know it's been a while since you opened this issue, but if you're still using Inertia and running into difficulties here, I'd be happy to chat about what you're running into!

@BrandonShar
Copy link
Collaborator

It's a class now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants