learncodeacademy / react-js-tutorials

Code that goes along with my YouTube React JS Series
1.67k stars 1.33k forks source link

Swapping around plugins #14

Closed scycer closed 8 years ago

scycer commented 8 years ago

swapped 'transform-decorators-legacy' and 'transform-class-properties' as when the 'decorator' goes after 'class' plugin then the ES7 decorators seem to get ignored. i ran into this issue once i started using decorators in mobx tutorial (which has them the correct way around)

willrstern commented 8 years ago

@scycer Ah, thanks for this! I remember running into that with MobX