remotedev is trying to access computed properties before object initialized
farwayer opened this issue · comments
Oliver commented
class Test {
items = [];
@computed get filtered() {
return this.items.filter(() => true);
}
}
const test = new (remoteDev(Test));
Cannot read property 'filter' of undefined
Mihail Diordiev commented
Thanks for the report.
We're listing all methods in order to be able to select them to call remotely from the monitor, but we should skip getters and setters.
Fixed in 0.2.7
. Pleas let me know if it now works.
Oliver commented
Look like fixed now. Thank you!
Oliver commented
Are any plans to release new version to npm?
Mihail Diordiev commented
Thanks for the heads-up. I thought it's there. Fixed now.