u/yogthosin r/Clojure • Recommends
On “Is the React.js reactive model just spreadsheet programming?”
#clojurescript#webfui#virtualdom
111K subscribers • 159 videos on Hallway
Intermediate. Assumes working knowledge.
10K views13 years ago2 recommendations
Web developmentProgramming languagesLisp and ClojureVue, Svelte, Angular and othersFunctional programming
Conrad Barski introduces Webfui, a library that treats the browser DOM as an immutable Clojure data structure with functional event handlers.
What if the inventor of the web browser had been a Clojure programmer? Probably, client-side web programming would work differently than it does now... but in what ways? For one thing, we might want the DOM to be just a plain old Clojure data structure... but how would we modify it? Also, we might want browser event handlers to be purely functional functions... but what type of data would they return? Finally, how would we do AJAXy stuff, without sacrificing our beautiful functional code to the demons of imperativism? Webfui is a set of libraries that tries to answer these questions. With Webfui, you can pretend your program is actually running inside of this hypothetical Clojure-friendly web browser... and the libraries take care of the rest.What people say. Recommended as an early exploration of the immutable virtual DOM concept in ClojureScript, predating React.
u/yogthosin r/Clojure • Recommends
On “Is the React.js reactive model just spreadsheet programming?”
u/dannysatanin r/Clojure • Recommends
On “Conrad Barski has just added some documentation to WebFUI (angular.js in ClojureScript) library ”