re-frame

https://github.com/Day8/re-frame/blob/master/docs/README.md https://github.com/Day8/re-frame/blob/master/docs/External-Resources.md
solf 2020-12-21T00:51:39.497600Z

Actually the template you linked doesn't use leiningen, unless I'm reading the README wrong

solf 2020-12-21T00:51:54.497800Z

It says it includes:

re-frame
shadow-cljs
cljs-devtools

1✅
solf 2020-12-21T00:55:45.498Z

The readme does say to use lein to install the template, but you can avoid it by using https://github.com/seancorfield/clj-new if you use tool deps instead

Tamas 2020-12-21T04:53:58.498700Z

Thanks for the responses!

Tamas 2020-12-21T04:56:06.498900Z

@dromar56 yes, you can generate the template using clj-new but you end up with a leiningen project, just scroll down in that readme and see how you would Run the application. lein deps, lein watch etc.

Tamas 2020-12-21T04:58:07.499100Z

@claudius.nicolae I love that animated gif in your README https://github.com/tape-framework/doc 😄

1😀
dntn 2020-12-21T15:26:20.499500Z

Yeah, a performance issue is what caused us to look into it. The user's browser tab with the application crashed due to too much memory usage. > moving logic from subscriptions to some "preprocessing" step in an event tends to not be too terrible Yeah, we went ahead and did this since it seemed like it allowed the memory usage to go down (the peak in both cases were the same, but after garbage collection, it was lower when storing the preprocessed instead)

2020-12-21T23:26:44.000400Z

So I'm trying to use `re-frame-http-fx-alpha` to fetch some initial data using an http GET request and add it to my database by calling the event from my init function and then subscribing on parts of the data in one of my views, but with this code I get an error which I don't quite understand.

2020-12-21T23:26:53.000800Z

this is the error message:

p-himik 2020-12-22T08:32:57.003600Z

The error message talks about something named no-handler. I don't see anything like that in your code so it must be coming from somewhere else. Maybe :http fx handler?

superstructor 2020-12-23T20:23:16.023500Z

I havn't touched re-frame-http-fx-alpha in over a year. There is an example at https://github.com/day8/re-frame-http-fx-alpha-example Or consider using https://github.com/superstructor/re-frame-fetch-fx which is just the stable work extracted from re-frame-http-fx-alpha. @nicholas.jaunsen @p-himik

3👍