Does re-frame hhtp-fx have a way to set the cors headers?
If you mean :http-xhrio
, then you can use anything that cljs-ajax
uses. In this case, just set an appropriate :headers
map.
yea, great! thx!
1👍Alternatively if you don't need legacy browser support - https://github.com/superstructor/re-frame-fetch-fx
If you mean :http-xhrio
, then you can use anything that cljs-ajax
uses. In this case, just set an appropriate :headers
map.
Thanks for all these inputs and elaborations, all of you. This is great!
yea, great! thx!
1👍@lilactown in my use case I have components that should change their style, content, and behaviour at certain times of the day. So it is not really about an update every second. I want the updates to happen on even minutes (not every minute), because it felt weird when the clock on the phone switched minute and the changes happened up to a minute later.
1👍