kennytilton 2021-04-12T01:42:17.164200Z

I did some modeling with tufte. Seemed excellent.

Valentín 2021-04-12T02:51:24.166Z

Hi guys, I have a silly question...

Valentín 2021-04-12T02:51:44.166100Z

How can I deploy re-frame template to heroku?

Valentín 2021-04-12T02:51:49.166200Z

Valentín 2021-04-12T02:52:01.166400Z

Thanks in advance

ingesol 2021-04-12T05:56:09.166600Z

This one is deployed to heroku. It has a server part, if that’s what you are asking about. The specifics of creating it on heroku is a matter of following heroku’s tutorial

ingesol 2021-04-12T05:56:13.166800Z

Quentin Le Guennec 2021-04-12T09:21:04.168600Z

Hello, I don't understand why I'm not getting any reaction here: Based on my understanding of re-frame, the println call line 12 should be called when I evaluate the last do form.

p-himik 2021-04-12T10:04:02.168800Z

track! expects its result to be used. But you ignore it, so it's discarded.

p-himik 2021-04-12T10:04:45.169Z

You probably want to use reagent.ratom/run! instead. Although I'm not sure if it'll work outside of a reactive context.

p-himik 2021-04-12T10:06:36.169300Z

In any case, subscribe is designed to be used only within views. Any other usage is, I'd say, an undefined behavior. And (subscribe ...) returns a regular Reagent reaction. If some Reagent machinery doesn't work with it, then it's a topic better suited for #reagent

caumond 2021-04-12T19:47:58.171700Z

Hi, how do I retrieve the language of the user. I used a specific variable in the db, but I would like to use a default value depending on the user default language, something like accept-language in the http header?


You might want to have a look at It’s an internationalization library and you might or not want to use it directly, but either way the code might be of interest.


(I haven’t used it myself, I just happened to stumble across it recently and it seemed related to your question.)

caumond 2021-04-12T20:02:49.174500Z

I did not have a look to wrap-ring-request which is, you're right, the exact thing I am looking at. Thx.