• <bdo id='LvKEg'></bdo><ul id='LvKEg'></ul>
      <tfoot id='LvKEg'></tfoot>
    1. <legend id='LvKEg'><style id='LvKEg'><dir id='LvKEg'><q id='LvKEg'></q></dir></style></legend>

        <i id='LvKEg'><tr id='LvKEg'><dt id='LvKEg'><q id='LvKEg'><span id='LvKEg'><b id='LvKEg'><form id='LvKEg'><ins id='LvKEg'></ins><ul id='LvKEg'></ul><sub id='LvKEg'></sub></form><legend id='LvKEg'></legend><bdo id='LvKEg'><pre id='LvKEg'><center id='LvKEg'></center></pre></bdo></b><th id='LvKEg'></th></span></q></dt></tr></i><div id='LvKEg'><tfoot id='LvKEg'></tfoot><dl id='LvKEg'><fieldset id='LvKEg'></fieldset></dl></div>

        <small id='LvKEg'></small><noframes id='LvKEg'>

        什么是前端开发中的“乐观更新"

        what is `optimistic updates` in front-end development(什么是前端开发中的“乐观更新)
          <tbody id='Dp7ul'></tbody>

          <i id='Dp7ul'><tr id='Dp7ul'><dt id='Dp7ul'><q id='Dp7ul'><span id='Dp7ul'><b id='Dp7ul'><form id='Dp7ul'><ins id='Dp7ul'></ins><ul id='Dp7ul'></ul><sub id='Dp7ul'></sub></form><legend id='Dp7ul'></legend><bdo id='Dp7ul'><pre id='Dp7ul'><center id='Dp7ul'></center></pre></bdo></b><th id='Dp7ul'></th></span></q></dt></tr></i><div id='Dp7ul'><tfoot id='Dp7ul'></tfoot><dl id='Dp7ul'><fieldset id='Dp7ul'></fieldset></dl></div>
        • <legend id='Dp7ul'><style id='Dp7ul'><dir id='Dp7ul'><q id='Dp7ul'></q></dir></style></legend>
              <tfoot id='Dp7ul'></tfoot>
                <bdo id='Dp7ul'></bdo><ul id='Dp7ul'></ul>

                  <small id='Dp7ul'></small><noframes id='Dp7ul'>

                • 本文介绍了什么是前端开发中的“乐观更新"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我正在阅读 redux 模式简介,并且那里有以下一段:

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

                  ...考虑新需求在前端产品中变得普遍开发,例如处理乐观更新,在服务器,在执行路由转换之前获取数据,等等.

                  ... consider the new requirements becoming common in front-end product development, such as handling optimistic updates, rendering on the server, fetching data before performing route transitions, and so on.

                  我的问题是这里的乐观更新是什么?

                  My question is what is optimistic updates here?

                  推荐答案

                  在乐观更新中,UI 表现得好像更改在收到服务器确认之前已成功完成 - 乐观的是它最终会得到确认而不是错误.这允许响应更快的用户体验.

                  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.

                  这篇关于什么是前端开发中的“乐观更新"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Pause youtube video, youtube api(暂停 youtube 视频,youtube api)
                  Youtube iframe api not triggering onYouTubeIframeAPIReady(Youtube iframe api 未触发 onYouTubeIframeAPIReady)
                  How can I stop a video with Javascript in Youtube?(如何在 Youtube 中停止使用 Javascript 的视频?)
                  Embed YouTube video - Refused to display in a frame because it set #39;X-Frame-Options#39; to #39;SAMEORIGIN#39;(嵌入 YouTube 视频 - 拒绝显示在框架中,因为它将“X-Frame-Options设置为“SAMEORIGIN)
                  How to call Greasemonkey#39;s GM_ functions from code that must run in the target page scope?(如何从必须在目标页面范围内运行的代码中调用 Greasemonkey 的 GM_ 函数?)
                  How do you mute an embedded Youtube player?(如何使嵌入式 Youtube 播放器静音?)

                      1. <legend id='W5vFB'><style id='W5vFB'><dir id='W5vFB'><q id='W5vFB'></q></dir></style></legend>
                        <i id='W5vFB'><tr id='W5vFB'><dt id='W5vFB'><q id='W5vFB'><span id='W5vFB'><b id='W5vFB'><form id='W5vFB'><ins id='W5vFB'></ins><ul id='W5vFB'></ul><sub id='W5vFB'></sub></form><legend id='W5vFB'></legend><bdo id='W5vFB'><pre id='W5vFB'><center id='W5vFB'></center></pre></bdo></b><th id='W5vFB'></th></span></q></dt></tr></i><div id='W5vFB'><tfoot id='W5vFB'></tfoot><dl id='W5vFB'><fieldset id='W5vFB'></fieldset></dl></div>
                          <tbody id='W5vFB'></tbody>

                        1. <tfoot id='W5vFB'></tfoot>

                          <small id='W5vFB'></small><noframes id='W5vFB'>

                            <bdo id='W5vFB'></bdo><ul id='W5vFB'></ul>