what is `optimistic updates` in front-end development

前端 未结 1 1855
独厮守ぢ
独厮守ぢ 2020-11-30 07:10

I\'m reading the intro to redux pattern, and there is the following paragraph there:

... consider the new requirements becoming common in front-end pr

相关标签:
1条回答
  • 2020-11-30 07:49

    In an optimistic update the UI behaves as though a change was successfully completed before receiving confirmation from the server that it actually was - it is being optimistic that it will eventually get the confirmation rather than an error. This allows for a more responsive user experience.

    0 讨论(0)
提交回复
热议问题