mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
## Features - https://github.com/toeverything/BlockSuite/pull/6825 @regischen ## Bugfix - https://github.com/toeverything/BlockSuite/pull/6828 @regischen - https://github.com/toeverything/BlockSuite/pull/6823 @fundon - https://github.com/toeverything/BlockSuite/pull/6822 @fundon - https://github.com/toeverything/BlockSuite/pull/6826 @pengx17 - https://github.com/toeverything/BlockSuite/pull/6794 @fundon - https://github.com/toeverything/BlockSuite/pull/6821 @donteatfriedrice - https://github.com/toeverything/BlockSuite/pull/6781 @doouding - https://github.com/toeverything/BlockSuite/pull/6820 @pengx17 - https://github.com/toeverything/BlockSuite/pull/6819 @regischen - https://github.com/toeverything/BlockSuite/pull/6817 @donteatfriedrice ## Refactor ## Misc
A set of provider utilities for Yjs
createLazyProvider
A factory function to create a lazy provider. It will not download the document from the provider until the first time a document is loaded at the parent doc.
To use it, first define a DatasourceDocAdapter.
Then, create a LazyProvider with createLazyProvider(rootDoc, datasource).