The grid (core) ยท console.warn
'{name}' was already registered as a {kind} and has been replaced.
Printed by The grid (core), prefixed [lattice], since 1.0.1.
Warnings reference › registry.replace:*:*
- Identifier
registry.replace:*:*- Raised by
- The grid (core)
- Since
- 1.0.1
What happened
A different implementation was registered under a name that was already taken, and it replaced the previous one - the registration succeeds. It is reported because the replacement is global to the grid: everything that resolves that name now gets the new implementation, including code you did not write. Re-registering the *same* implementation is silent.
The fix
Register under a name of your own if the replacement was not intended.
Reference
Covered in full at the API reference.