02 2023 档案
摘要:1. SPA路由实现的基本原理 前端单页应用实现路由的策略有两种,分别是 基于hash 和 基于 History API 基于hash 通过将一个 URL path 用 # Hash 符号拆分。— 浏览器视作其为虚拟的片段。 最早前端路由的实现就是 基于 location.hash 来实现的, 有这
阅读全文
摘要:HTMLCollection 和 Nodelist 的异同? 1. w3 关于这两者的定义 HTMLCollection: An HTMLCollection is a list of nodes. An individual node may be accessed by either ordin
阅读全文
摘要:sudo apt-get autoremove sudo apt-get autoclean sudo apt-get update sudo apt-get -f install sudo apt update && sudo apt upgrade -y sudo dpkg --configur
阅读全文

浙公网安备 33010602011771号