Closed evgeniyPP closed 4 years ago
I'm still considering wether I want to add XHR/fetch utilities to Fluor. Since there's already htmx maybe it would be too much.
I'll leave this issue open until I decide what to do.
If you decide that it would be too much, you definitely should leave a recommendation in the docs on how you advise doing it (htmx, etc.). For example, I have not heard about htmx and tried to solve the problem with existing resources.
Sure thing, I'd have to look for what exists to do this :)
So, I won't add XHR/fetching related methods as it is not in the scope of the library. I just want it to focus on DOM interaction. You can use async
functions as event handlers and use fetch
, or use another solution like HTMX.
I figured out one way how to fetch data using Flour.js
where fetchTodos() is
It is very uncomfortable. Is it possible to make any functionality specifically for this?