Finding it hard to get good resources online - but simple things like, grabbing some JSON from an api, running a map, filter and some reducers seem very very cumbersome. Seem to be running json.asInstanceOf[js.Array[js.Dynamic]]
alot. And then things like .filter(_.width <= 640)
complain about type mismatches etc...
Surely there has to be a quicker way to associate types than having to type asInstanceOf
over and over again.