2 ms·
Hey! I got started with Webpack and now got a decent workflow. Still figuring out the interoperability between React(JS) and TypeScript. There are some issues
by seivan 11y ago
Hey! I got started with Webpack and now got a decent workflow.
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 https://gist.github.com/seivan/fad1a175a5e140299fb2
I REALLY love the one-way flow of data.