Fork me on GitHub
#om-next
<
2016-09-23
>
levitanong03:09:18

@fenton have you read the datascript integration tutorial in the docs?

snoonan07:09:06

Why am I getting the following warning? All the lines are (defui SomeComponent

WARNING: Use of undeclared Var map18xx.tiles/x30516 at line 192 /builds/snoonan99/map18xx/src/map18xx/tiles.cljs
WARNING: Use of undeclared Var map18xx.tiles/x30516 at line 192 /builds/snoonan99/map18xx/src/map18xx/tiles.cljs
WARNING: Use of undeclared Var map18xx.tiles/x30565 at line 243 /builds/snoonan99/map18xx/src/map18xx/tiles.cljs

snoonan07:09:39

I required om.next in the file as (:require [om.next :as om :refer-macros [defui]]

hlolli08:09:51

this warning is most likely compleatly harmless.

snoonan17:09:42

It is harmless, but still filling build logs with noise. I would like to understand it at least.

snoonan17:09:16

There is a similar warning used in the tutors that explain it as the symbol is defined after use, but that is not the case here.

fenton17:09:32

@levitanong I was working off that... Just on phone now but I'll go look again when I get back on to my laptop... Gotta go walk in nature right now... Too much screen time:slightly_frowning_face:

levitanong20:09:16

@fenton I do believe you’d need to use om/class->any to automatically select a component that matches that class.

levitanong20:09:35

Hope you have a good walk!