Earlier quoted context omitted.
It's suboptimal and obscure. There is barely any up to date resources on it. So far I've managed to get to stuff presented on the window, but as soon as you start messing with references to the DOM components, things start to break down. It's a shame, I really think Typescript and React would be the answer to getting a decent code base. One of the cool parts, is that you get to define what your property is with stati…
Thank you. I'd love to use these together.
Still figuring out the interoperability between React(JS) and TypeScript.
There are some issues regarding arrays from React that don't have Typescript features, even when casted (like filter() and reduce()
Not to mention the lack of JSX makes things verbose.
Anyway, here's a sample code of Facebooks own tutorial. https://gist.github.com/seivan/fad1a175a5e140299fb2
I REALLY love the one-way flow of data.