I'm not sure the performance difference between the two though.
- Does it work with any web backend framework? Could I use something like Luminus or Fulcro? Does the request just have to follow the Ring request format?
- Looks like lines 183 through 198 on core.clj could be when instead of if
I haven't tested any of that code so it may not work perfectly.
I have another question: did you model this on any existing html generating solution (such as reagent/om/rum)? I am looking at those projects for inspiration and a guide on how to do this kind of generation
Yea, I totally missed that. I'm working on a ClojureScript library so there is no Hiccup and I'm planning on targeting Vue instead of React which means reagent and sablono are both out too.
freaking cool! have you seen recent React take on atoms?
I haven't dived into that, but from the surface it sounded like they're playing with Vue's approach.
Perhaps Vue is more developed in its own approach though :-)
I have not seen that. I'm not very familiar with standard React, I've only briefly worked on a React codebase and the rest of the time I've used React via Reagent
My lib for Clojure, using it in a real project. Currently planning next iteration, probably will include prefetch links and streamline cache-busting.
Most brutal critique is welcome as well as other forms of feedback.
- What made you decide to write CacheBustHelper in Java? I believe something like:
I'm not sure the performance difference between the two though.- Does it work with any web backend framework? Could I use something like Luminus or Fulcro? Does the request just have to follow the Ring request format?
- Looks like lines 183 through 198 on core.clj could be when instead of if
- what about making update-if-present:
That would allow you to do the following: Those are just some things I noticed on first glance.-
I have another question: did you model this on any existing html generating solution (such as reagent/om/rum)? I am looking at those projects for inspiration and a guide on how to do this kind of generation
Cheers!