loro-dev / loro

Reimagine state management with CRDTs. Make your app collaborative effortlessly.
https://loro.dev
MIT License
4.14k stars 77 forks source link

refactor: tree contains & isDeleted #467

Closed Leeeon233 closed 1 month ago

Leeeon233 commented 1 month ago

Breaking Change

Tree Container:

zxch3n commented 1 month ago

Why not calling it isDeleted() directly?

Leeeon233 commented 1 month ago

Why not calling it isDeleted() directly?

There is an API called is_deleted() for DocState::is_deleted() indicates whether the container is deleted