MobX
MobXプロジェクトをCRAで作りたくて、Decoratorsを有効にしたいんだけど、という時に使用 create-react-app <app_name> --scripts-version custom-react-scripts参考medium.com</app_name>
MobXのプロジェクトを開いて、なんかエラー出るなと思って対応。プロジェクト直下に tsconfig.json を作って、以下設定。 { "compilerOptions": { "experimentalDecorators": true, "allowJs": true, } } 参考https://ihatetomatoes.net/how-to-remove-exper…