celestialdb / celestial

Generate the data layer for your frontends
https://celestialdb.github.io
GNU Affero General Public License v3.0
4 stars 0 forks source link

Rerender after update affects others display elements #5

Open kriti-sc opened 2 months ago

kriti-sc commented 2 months ago

This is because of how updates and optimistic updates are implemented

This happens because update causes a refetch, which causes a rerender, causing all elements to shift around. Even with optimistic updates, the update will appear, and then when the refetch happens (because updates cause refetch to happen), then everything will shift around.