aresrpg / aresrpg-dapp

Aresrpg's decentralized web application
https://app.aresrpg.world
0 stars 4 forks source link

Improve reactivity on transactions #99

Closed Sceat closed 2 weeks ago

Sceat commented 1 month ago

It's quite hard to get a correct synchronization by just refetching Sui after an event, sometimes datas are not updated, like you can create a character but it doesn't update on the app.

Let's rethink the update flow by not waiting for transactions but rather applying "fake" changes on the UI which will be refreshed later, in case we don't have enough infos we can still simply wait for the event and use its data to display the changes without refreshing the entire flow