Not really, by adding the library via a script tag it adds html attributes that create reactive behaviors using http requests/forms. That's not to say that there may be something else you need javascript for, but not necessarily for the features htmx adds.
You can do that in flask using templates. Just compile your react to static files and use them as static files for flask. I'm not sure if fastapi has templates
People crying in the comments is so sad. Most dont even work in project with millions user peer day and yet like to theorize about how things will not work.
Python for backend development is ok, but trying to use it for frontend looks ridiculous. No one will ever use it for serious solutions. Maybe for some simple admin panels, pet projects or something like that, but a serious frontend requires a lot of javascript code.
Htmx always looked promising and I liked the idea in general. But this one is by far the ugliest html generating code I’ve ever seen. Especially comparing to beauty of JSX.
Python is strong in data science, machine learning, and AI, but it's not the best choice for web development. Any other tool in any other language is generally better for web projects. Unless you only know Python and aren't willing to learn another language, there's no good reason to use it for web development.
I implemented some parts of logic in Python and revealed that it lacked multithreading ability. I was taken aback (shocked), honestly. How can someone consider this poor language as a tool for modern scalable and fast applications?
@@KodapsAcademy Multi-threading can not be more or less as you wrote. Multi-threading either exists or does not exist. In Python, multi-threading does not exist. If you do not understand/comprehend this you might need to develop your programming skills.
I have used python in multi threaded environment. Connected my flask app Via socketioforflask , to frontend that was also in the same flask app. Just templates = compiled React. Also socketio can run in a multi threaded environment.
i love the way you present your videos. It keeps me focused with very little distractions 😊😂
Can you make a video about Nestjs and Django? Why multithread languages are important
Very promising
not really
In the end, you need to know JS even for FastHTML since it uses HTMX, a JS library. Am I right?
Not really, by adding the library via a script tag it adds html attributes that create reactive behaviors using http requests/forms. That's not to say that there may be something else you need javascript for, but not necessarily for the features htmx adds.
Can I do my frontend with React, or another library, and use FastHTML only as a backend responding to queries without any backend rendering?
You can do that in flask using templates. Just compile your react to static files and use them as static files for flask. I'm not sure if fastapi has templates
People crying in the comments is so sad.
Most dont even work in project with millions user peer day and yet like to theorize about how things will not work.
Python for backend development is ok, but trying to use it for frontend looks ridiculous. No one will ever use it for serious solutions. Maybe for some simple admin panels, pet projects or something like that, but a serious frontend requires a lot of javascript code.
hopefully that changes
@@SchizoJeet stop wasting your time just learn react
@@ivan.jeremic can't be fucked, I'll stick to backend + htmx thanks
What do u mean serious application? No one building every app like Canva or Figma. Maximum web app is CRUD like. Stop being Javascript karen.
Many popular AI apps are built with Gradio/Streamlit. There's a lot of technical debt in the doing things the traditional way
Htmx always looked promising and I liked the idea in general. But this one is by far the ugliest html generating code I’ve ever seen. Especially comparing to beauty of JSX.
Putting the word "fast" in the name of a python framework is pretty hilarious.
Nahh! This is just wrong
Python is strong in data science, machine learning, and AI, but it's not the best choice for web development. Any other tool in any other language is generally better for web projects. Unless you only know Python and aren't willing to learn another language, there's no good reason to use it for web development.
What?
Ever heard of Django? Its one of the most widely used backend frameworks. Learn about the language if you are hate on it lil bro
@@sowoul_ as a py bro, hes right.. just switched to next and tailwind and its so much better..
@@sowoul_Django is for backend, not frontend like NextJS
WHAT??
Django? Flask? In fact UA-cam runs a lot of Python
What a dumb comment
Python lost its race to JS why they wasted time in Pushing Python 3
???
funniest comment from a noob ever seen 😂😂
LOL 😂😂
What the fuck are you saying gay
@@oboynitro but python lost he is right. stop wasting time and learn react
I implemented some parts of logic in Python and revealed that it lacked multithreading ability. I was taken aback (shocked), honestly. How can someone consider this poor language as a tool for modern scalable and fast applications?
I'm not quite sure what point you are trying to make since Python supports both multithreading and multiprocessing ?
@@KodapsAcademy Python does not support any type of multithreading AT ALL! Absolutely AT ALL! It just simulates it.
Which is still more multi threading than Node or PHP offer, if we’re being precise about threads :)
@@KodapsAcademy Multi-threading can not be more or less as you wrote. Multi-threading either exists or does not exist. In Python, multi-threading does not exist. If you do not understand/comprehend this you might need to develop your programming skills.
I have used python in multi threaded environment.
Connected my flask app Via socketioforflask , to frontend that was also in the same flask app. Just templates = compiled React. Also socketio can run in a multi threaded environment.