Iyasa
Iyasa
I copied crdt plugin, and tested auto clean with my case, here is the codes, only need a few lines: ## Define options and clean function ```ts // trigger_counts -...
Due to formatting and code style issues in the editor, I didn't submit a pull request to avoid any inconvenience.
And i found the function `cleanup` for clean plugin can be more performance: I asked gpt, it suggest use and to exec query for better performance: ```ts const remove_items =...
> Some things I have in mind:我想到的一些事情: > > We do not have to disable the value check. Instead of fully puring some CRDT operations, they should be replaced with...
In order to prevent replication errors, I updated the clean function for CRDT operations: ```ts const cleanOperations = async (args: { crdtDocField: CRDTDocumentField docData: WithDeleted storageToken: string hashFunction: HashFunction })...
Button组件在最近的react experimental中报`legacyRender`错误(点击即报错),这个错误似乎来自于`rc-util`。 https://github.com/react-component/util/blob/b2016407b7b14353f7b209d8a37df875f0dd0f11/src/React/render.ts#L17 这种写法会存在版本问题(现在react的一些dom方法从react-dom/client导入)。
+1 Is there a method to solve type problems?
> > +1 Is there a method to solve type problems? > > I forgot to update @1yasa We can do like this.. using ky library > > ``` >...
I 'resolved' this problem by a trick way: ```ts onEnter() { console.log('Enter') if (!this.selected) return false const target = this.node.insertAfter($createParagraphNode()) as ParagraphNode window.requestAnimationFrame(() => this.editor.update(() => target.selectStart())) return true }...
+1 leaking at macos intel.