kadirahq / mantra

Mantra - An Application Architecture for Meteor
https://kadirahq.github.io/mantra/
977 stars 51 forks source link

react hot-loader support ? #40

Open mydearxym opened 8 years ago

mydearxym commented 8 years ago

love your work!

is this project support react-hot-loader ?

like this meteor-webpack-react ?

tomitrescak commented 8 years ago

Check out this project https://github.com/tomitrescak/Meteor-Boilerplate-Webpack-Mantra-Typescript

vonwao commented 8 years ago

This looks cool @tomitrescak

I'm curious, what do you find helpful with Typescript. I don't see much types used and I wonder in what cases are types are helpful?

tomitrescak commented 8 years ago

@vonwao I guess the biggest help with typescript is its type safety and resulting refactoring procedures. The moment you need to upgrade your code, everything is much safer and straightforward (just try to rename a variable in JS ... all you can do is pray [or write many unit tests]). Also, from RAD perspective, with typescript your get nice Intellisense for datatypes, imports and more. Also, your code always shines RED if you make any mistake and saves you time with discovering errors during runtime. Best of all is, that all this in TS is voluntary, so if you need to do anything JS style you can.