A new method invalidateKey
and invalidateAllKeys
for ReaсtiveDict
invalidates one or some keys in the dictionary without changing their values.
...
this.componentState = new ReactiveDict()
this.componentState.set('title', 'test')
this.componentState.set('description', 'Vestibulum ac diam sit amet quam vehicula elementum sed sit amet dui.')
...
this.componentState.invalidateKey('title') // invalidate one key
this.componentState.invalidateKey(['title', 'description']) // invalidate some keys
this.componentState.invalidateAllKeys() // invalidate all keys