🔗 ClojureScript HTTP data fetching
–
ClojureScript HTTP data fetching In ClojureScript, there is a very helpful library that is a wrapper around XHR. It is called cljs-http.
In order to use it, we have to use the core.async library. core.async was design to work on the JVM to handle concurrent threads. JavaScript is single threaded but the concept is the same: passing message.
Simple HTTP request It is helpful to know how to get data from a server when building a website or an app.