Custom Components
Introduction
Common issues and Best Practices to follow when creating custom Components.Stale References
When your component is passed (world, component)
to add, tick, or remove callbacks, it is not always safe to reference component
in a nested function and use it after the callback has returned.