Mobx decorators not work?

Hi, in my snack https://snack.expo.io/@ciberus/mobx-decorators device throw error on decorator @observable how to fix this? Snack don’t support ES.next?

Hi @ciberus! We use this babel config for Snack:

presets: ['es2015', 'react', 'exponent']

What is the exact device error?

@jesse ty for reply


Thanks @ciberus. Talked to the people working on Snack and we don’t support decorators right now. Thanks for bringing it up. We’ll take a look at supporting them soon.

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.