The responsiveness to user inputs itself a key component of the user experience, and it relates to the amount of computation that they trigger on the main thread.Ī part of the computation occurs due to the framework at play. Highly interactive single-page web applications like tldraw generally consider the user experience to be a key component of their value proposition. In some contexts, derived data may also be recomputed when they could be retrieved instead from a cache. Those recomputations could be expensive for large derived collections. Both issues were fundamental limitations of the framework’s reactivity model.ĭerived data would be recomputed every time their data dependencies would change. However, we quickly ran into two big problems that made it impossible for us to scale to the number of shapes and multiplayer users that we knew browsers could handle. We spent several months building tldraw’s new version using a popular reactive state framework. It has an unusually active client state, with lots of in-memory data that changes often and much of which is derived from other data. Tldraw is a collaborative digital whiteboard built with React. The tldraw team explained their motivation as follows: Signia can however be used standalone or in conjunction with any UI framework. Signia seeks to overcome fundamental performance limitations of tldraw’s chosen UI and reactive framework and ultimately provide better interactive apps with better user experience. The team behind the collaborative whiteboard tldraw recently published a library that brings incremental computing to JavaScript.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |