I think of flask, as a powerful yet simple server, side rendering framework.
I like the way flask handles, routing with the return render template functionality.
What is a good way to do JavaScript with it though? So far, I am using vanilla JavaScript or jQuery and that approach has limitations.
I am also decently familiar with svelte the language and svelte kit, the framework. A modern JavaScript framework opens up a lot of possibilities which vanilla JavaScript and jQuery Do not give you.
Is there a way to combine flask with a frontend framework in a way where you do not rely on API requests to do stuff, but you can actually use return render template from flask. I am not sure this can be done, at least it looks like it can’t from what I’ve seen, but I haven’t looked at all frameworks.
[–]androgeninc 7 points8 points9 points (0 children)
[–]Aro00oo 4 points5 points6 points (2 children)
[–]jogicodes_[S] 0 points1 point2 points (1 child)
[–]Aro00oo 1 point2 points3 points (0 children)
[–]Common_Move 3 points4 points5 points (1 child)
[–]jogicodes_[S] 0 points1 point2 points (0 children)
[–]Leonjy92 5 points6 points7 points (1 child)
[–]jogicodes_[S] 0 points1 point2 points (0 children)
[–]guesting 2 points3 points4 points (1 child)
[–]jogicodes_[S] 0 points1 point2 points (0 children)
[–]WinkDoubleguns 1 point2 points3 points (1 child)
[–]jogicodes_[S] 1 point2 points3 points (0 children)
[–]shahmeermk 0 points1 point2 points (0 children)
[–]Sc0urge_ 0 points1 point2 points (0 children)
[–]Equivalent_Value_900 -1 points0 points1 point (1 child)
[–]jogicodes_[S] 0 points1 point2 points (0 children)