@fenton have you read the datascript integration tutorial in the docs?
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
I required om.next in the file as (:require [om.next :as om :refer-macros [defui]]
this warning is most likely compleatly harmless.
It is harmless, but still filling build logs with noise. I would like to understand it at least.
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.
@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:
@fenton I do believe you’d need to use om/class->any
to automatically select a component that matches that class.
Hope you have a good walk!
see: https://github.com/omcljs/om/wiki/Documentation-(om.next)#class-any