I'm getting goog.require could not find: keechma.ui_component
. Any idea what the problem might be?
@urbank do you have your code somewhere? how does your require look like?
it's [keechma.ui-component :as ui]
in project.clj [keechma "0.2.0-SNAPSHOT-11"]
hm, that should work
[org.clojure/clojure "1.9.0-alpha15"] [org.clojure/clojurescript "1.9.521"]
maybe clojure/clojurescript version is the problem?
Iโm working on the project right now that has the same deps and it works
can you try to restart lein?
Ha... that helped. Should have tried that in the first place. Thanks!
no problem ๐
Hi @mihaelkonjevic ! Just read the Keechma doc and I was wondering if I could use controllers inside an existing Re-Frame app. The pipeline approach is exactly what I need and I started some weeks ago to implement something similar (and buggy) It would help me a lot to use Keechma's pipelines in my existing app
hm, Iโm not sure if it would work. Maybe you could use pipelines without controllers. They are not too coupled. Controller is needed only for the sideffects, but you could probably implement your own sideffects (by implementing the correct protocol) and then pass in something that makes sense for re-frame app
so instead of built in sideffects, you would use re-frame based implementation
@ggaillard ping me if you need any help with that
I'll look at it, thank you ๐
Uncaught Error: Can't resolve the subscription with key: :todos
god damn it
I found it
I had :subscriptions-deps
instead of :subscription-deps
... plural instead of singular
It's times like this that I miss type-checking ๐
I have a plan to add spec to everything, that should help
Yeah, that would be grand ๐
hereโs a short video about the dataloader, full blog post coming next week - https://youtu.be/dZaY1kZwpmw
cool... man I'd like to be able to convince my coworkers to go with something like GraphQL
yeah, itโs great ๐
But the beauty of dataloader is that you can use any backend with it. GraphQL is just a great fit because you can combine queries
Where exactly does entitydb hook into keechma? What needs to be swapped to exchange it for something else?
EntityDB doesnโt really have any hooks into keechma
EntityDB is implemented as a set of pure functions
that work on a map
so you can use EntityDB without Keechma and vice versa
The only thing that Keechma expects is an reagent atom it has control over
because Keechma stores some internal state in that atom (like which controllers are running)
but that atom is exposed on the map that is returned from the keechma.app-state/start!
function
so if you need to do something with that atom, itโs possible
each controller has full access to that atom too
Ok cool, I just thought there was something more because there an :entity-db
key in the state
yeah, it just creates a basic structure here https://github.com/keechma/keechma/blob/master/src/keechma/app_state.cljs#L90
what do you plan to use?
@mihaelkonjevic Not sure, probably entity-db eventually, but want to do some experimenting with a more specific solution for my particular data
cool, if you make some cool integration, make sure you let me know ๐
@mihaelkonjevic Will do! ๐