Are you aware of pjax, turbolinks and (stepping up a bit from this really minimal baseline) intercooler.js?
Curious how you feel your project fits in at this end of the ecosystem.
Intercooler is fantastic and integrates well with Django.
And my favorite: unpoly
Re:Using VueJS Alongside Django
by 1337shadow on Wednesday April 15, 2020 @04:07AM
(#22875574)
There's also stimilusjs that works pretty fine with all that.
Re:Using VueJS Alongside Django
by jedieaston on Tuesday April 14, 2020 @06:19PM
(#22872185)
Is it in a state that you could do a Show HN? I want to see this, could be very useful for me trying to avoid writing JS ;)
Re:Using VueJS Alongside Django
by irrational on Tuesday April 14, 2020 @09:35PM
(#22873556)
>Full page rendered app are way easier to code
This is basically web 1.0. It's like we've come full-circle:
web 1.0 > web 2.0 > web 1.0
I'm not saying this is bad at all. I'm just amused that we are back to building web pages the way we did 10-15 years ago.
Looks like your profile just has an hnchat verification code, but would love to check out the project and help out if I can. It sounds really interesting!
Yes. My first job was ASP.NET Web forms and their APPSTATE really messed this up. Imagine full page reloads WITH state in between reloads.
This sounds really interesting. For developers, this approach could be a compromise between no-code and, well, code.
Interested in giving this a try; If you need testers, I'd be happy to try it out.
I'm working on a project that lets you build your Django app like you normally would with templates and views but you get a React app and all the benefits of a single page app. You don't need to write any APIs or use redux etc. It will have a bunch of components built in and if you don't need any more then you don't even need to build the javascript yourself, you just include the already built file. At the moment I have a sort of Django Admin equivalent example working and I'm looking for some feedback. If you or anyone else has any ideas about it I would love to hear, feel free to PM me (email in profile).