AtomInstance#invalidate() is currently a function property. It doesn't need to be. Make it a normal method for tiny performance gains when instantiating AtomInstances.
This is technically a breaking change. Any code that was dereferencing the instance property can't do that anymore.
// BAD
const { invalidate } = instance
invalidate()
// GOOD
instance.invalidate()
Description
AtomInstance#invalidate()
is currently a function property. It doesn't need to be. Make it a normal method for tiny performance gains when instantiating AtomInstances.This is technically a breaking change. Any code that was dereferencing the
instance
property can't do that anymore.