Hey Guys,
i'm trying to get up to date an older package, updated in the bower.json ember from 2.3.1 to the latest version 2.18.2.
but i have a scheduledRevalidate like
export default function needsRevalidate(view){
view._renderNode.isDirty = true;
view._renderNode.ownerNode.emberView.scheduleRevalidate(view._renderNode, view.toString(), 'rerendering via needsRevalidate');
}
but the _renderNode coming from the component (this), is not found anymore. it's null.
tried to look back and seems to be dissapeared somewhere between version 2.9 and 2.10.
does anyone know a solution to overcome this and do the actual revalidate? (maybe another way?)
thanks!
Hey Guys,
i'm trying to get up to date an older package, updated in the bower.json ember from 2.3.1 to the latest version 2.18.2.
but i have a scheduledRevalidate like
export default function needsRevalidate(view){
view._renderNode.isDirty = true;
view._renderNode.ownerNode.emberView.scheduleRevalidate(view._renderNode, view.toString(), 'rerendering via needsRevalidate');
}
but the _renderNode coming from the component (this), is not found anymore. it's null.
tried to look back and seems to be dissapeared somewhere between version 2.9 and 2.10.
does anyone know a solution to overcome this and do the actual revalidate? (maybe another way?)
thanks!