Mobx decorators not work?

#1

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?

#2

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

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

What is the exact device error?

#3

@jesse ty for reply


#4

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
closed #5

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