📌  相关文章
📜  差异 bw 渲染和重新加载 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:18.205000             🧑  作者: Mango

代码示例1
Reloading is making another http request to the webhost's server. It returns html for your browser to load onto the page.
Rerendering is the act of changing, adding, or removing existing html on the page that has already been served to the browser. No need to interact with the website's server to make these changes. Keep in mind showing the actual content inside the new html element might make a http request.This is the entire point of JavaScript.