How to extend an Observable in JS using NS 8.4 ? #10177
Unanswered
rolandorocha
asked this question in
Q&A
Replies: 1 comment 2 replies
-
@rolandorocha N 8 is using es6 classes. You cant mix up es5 and es6 classes. you need to use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I had migrated Nativescript 6 Project to 8 and I'm getting this error: Class constructor Observable cannot be invoked without 'new'.
I use this View Model Base:
view-model-base.js
I can't do this? Can you explain me how do I extend correctly the Observable class in my NS project?
I would thank you for any help.
Rolando
Beta Was this translation helpful? Give feedback.
All reactions