You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We could have StringSignal that basically can store a collaborative text. This signal can have methods for text modifications, e.g. to insert at certain positions, to replace, or modify by regexp etc.
Describe the solution you'd like
No response
Describe alternatives you've considered
For starters, maybe, a more versatile ListSignal<Character> could support some of the needed API for a convenient support of such shared text data structure.
Additional context
No response
The text was updated successfully, but these errors were encountered:
What is needed is technically a ListSignal<Character> but there are some tricks specific for typical text editing patterns that allows implementing it in a more efficient way than by tracking each char as its own list entry. https://github.com/yjs/yjs is one popular open source implementation but we would need to have a compatible Java implementation as well.
taefi
changed the title
[Full-stack Signals][DX] Add StringSignal type that can be used to store a collaborative text
[Full-stack Signals][DX] Add StringSignal type to store a shared text with collaborative capabilities
Dec 2, 2024
Describe your motivation
We could have
StringSignal
that basically can store a collaborative text. This signal can have methods for text modifications, e.g. to insert at certain positions, to replace, or modify by regexp etc.Describe the solution you'd like
No response
Describe alternatives you've considered
For starters, maybe, a more versatile
ListSignal<Character>
could support some of the needed API for a convenient support of such shared text data structure.Additional context
No response
The text was updated successfully, but these errors were encountered: