Re:Netflix Releases Falcor Developer Preview
by Keats on Monday August 17, 2015 @06:07PM
(#10076460)
I read some of the docs but that's the thing I noticed as well, it makes typing impossible or at least very hard.
On the other hand, it looks very nice and the document is very well done as well
Re:Netflix Releases Falcor Developer Preview
by girvo on Tuesday August 18, 2015 @02:28AM
(#10077832)
I'm yet to come across a data layer for JS that plays nicely with Flow. Even Facebook's Flux struggles with it. I've been trying to work on my own implementation of the "Flux" architecture (unidirectional data flow), but I'm curious whether you know any decent "model" layers that work nicely in the weird statically-typed "JS" world?
I was similarly impressed when I was reading the documentation for Hystrix, which seems to share some functionality with Falcor, like request batching and caching.
The path syntax is very readable and obviously plays to JavaScripts strengths as a dynamic language. However, I would gladly pay the cost of more cumbersome syntax to recover static analyzability through a tool like Flow or TypeScript. With Observables in particular, the ability to track the type of the value inside the Observable is really convenient.