76

怎么理解前端路由? 当然是自己实现一个啦!

 6 years ago
source link: https://juejin.im/post/5a47618ff265da43176a7b6c
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
spa流行的今天不少同学会把前端路由跟后端路由弄混, 莫名其妙的怎么页面404啦之类'奇怪'的问题, 其实这就是没弄清楚前端路由和后端路由的原因(当然你用hash当我没说). 本文所有前端路由都是spa的情况下, 不存在后端渲染好变量的情况 原理 首先我们看看

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK