Added paragraph on TypeScript conditional imports. - #613
Conversation
|
This looks great! Thank you for taking the time do this (and research it!). Did you have any additional feelings about this update after reading the information about dynamic imports in meteor/meteor#8327 (comment)? If not, I'm happy to merge this! |
|
Thanks @abernix . The bottomline of meteor/meteor#8327 (comment) is basically that adding dynamic When Meteor 1.5 is released, I guess it will make sense to update this by mentioning the |
|
BTW I also wrote a short post about it which explains it with a Meteor code example on my blog but I didn't want to link to my personal blog from the guide. Dunno if that's frowned upon or legit...you tell me, I guess. :-) |
|
@realyze If it's relevant and we don't have a good place to put it right now (both of these things seem true), go for it – I approve of the link you've provided. I will make the disclaimer that at some point and time in the future, I could see us having a have a dedicated* TypeScript section where this would fit very well (although, hopefully at some point we can make this exception obsolete). 😄 Edit: By "Dedicated", I mean "much larger" #531. |
|
@abernix Cool, I've updated the patch. Having a dedicated (and much larger, yes :) ) TS section would be awesome. It certainly appears TypeScript's adoption is increasing quite rapidly and I believe having an easy to follow and readable guide for TS would be encouraging to new Meteor users. There definitely are some gotchas when working with Meteor/TS combo. |
|
Thanks @realyze ! 😊 |
|
FYI: TS 2.4 add supports for Dynamic Imports 👍 |
TODO:
<h2 id="foo">instead of## Foofor headers