...
As CollectionAlias
works as an extra pointer to the existing collection in the RootCoordinator
, we can implement collection hot reloading at a much lower cost compared to the 1
, 2
approaches.
With CollectionAlias
, we can implement collection hot reloading functionality as such:
- Create Collection
A
& insert data. - Create CollectionAlias
Z
...
- ->
A
. - Create Collection
B
& insert data. - Update CollectionAlias
Z
...
- ->
B
. - Users can access new data with the
Z
alias.
Public Interfaces
New Public APIs
...