I am using the React.Web (for asp.net webforms https://reactjs.net/guides/weboptimizer.html) to transpile my JSX files. I am trying to use Mobx as my store for React. Unfortunately I am getting this error:
React.Exceptions.BabelException: Error: unknown: Decorators are not supported yet in 6.x pending proposal update.
After spending some time googling around I see that I have to add a Babel plug-in for decorators. Unfortunately I am not sure how to do it with this approach. The moment it tries to compile my jsx files it breaks. My .babelrc file is ignored at this point as it is all done server side and not client side. Can someone please assist me on this?