re-frame Questions

2

Solved

Google's <model-viewer> provides all the key features I need without having write a custom solution via something like react-three-fiber or directly in three.js. I am struggling with how to p...
Schilit asked 17/3, 2022 at 13:1

2

My re-frame views.cljs has: (re-frame/dispatch [::re-graph/init {:http-url "https://api.spacex.land/graphql" :ws-url nil :http-parameters {:with-credentials? false}}]) (re-frame/dispatch [::re...
Oolite asked 18/6, 2019 at 5:18

1

Solved

There are 3 event fns in Re-frame, I can do the same thing with both reg-event-db and reg-event-fx. What is the main difference between reg-event-db, reg-event-fx and reg-event-ctx? When should ...
Trisect asked 25/2, 2019 at 10:30

1

Solved

I followed this example: https://github.com/Day8/re-frame/blob/master/docs/FAQs/PollADatabaseEvery60.md And here is my interval handler (defonce interval-handler (fn [{:keys [action id frequency...
Bedazzle asked 9/10, 2017 at 16:13

1

Solved

I tried to adapt this example in Google Chart. To re-frame framework, reagent. I would like to create a real-time chart, based on subscriptions. I tested with a simple counter =+-1. I got error: A...
Radices asked 30/8, 2017 at 16:17

1

I have a couple options, but both seem a bit laggy, and I'm thinking that there should be a better alternative. I just would like to be able to create forms, even dynamically create them (eg adding...
Bevan asked 14/10, 2016 at 2:51

4

Solved

In a small app I'm building that uses Reagent and Re-frame I'm using multi-methods to dispatch which page should be shown based on a value in the app state: (defmulti pages :name) (defn main-pane...
Cafeteria asked 23/10, 2015 at 10:4

2

I'm building an app on top of re-frame default template. I have following secretary route: (defroute "/users/:id" [] (re-frame/dispatch [:set-active-panel :user-panel]) I want to access id par...
Gord asked 19/7, 2016 at 22:7

3

Solved

Consider the following clojurescript code where the specter, reagent and re-frame frameworks are used, an external React.js grid component is used as a view component. In db.cls : (def default-db...
Leaf asked 11/5, 2016 at 13:25

2

I'm building an application with re-frame and I'm wondering if reagent-form are meant to be used with re-frame or not, as reagent-form brings in its own way of handling state which is different tha...
Sihon asked 8/10, 2015 at 18:22

1

Solved

I'm playing around with the re-frame framework. In the code below, I am having trouble with updating the input value when the user types something in: (defn measurement-input [{:keys [amount u...
Quaker asked 29/6, 2015 at 4:8
1

© 2022 - 2024 — McMap. All rights reserved.