Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

240304Note: 博世-前端-一面 #17

Open
Geekiter opened this issue Mar 4, 2024 · 0 comments
Open

240304Note: 博世-前端-一面 #17

Geekiter opened this issue Mar 4, 2024 · 0 comments

Comments

@Geekiter
Copy link
Owner

Geekiter commented Mar 4, 2024

1、自我介绍
2、介绍下项目

1、你项目都是vue3做的吗
2、怎么用vuex不用pinia
vuex是官方库
4、vite有了解吗(不知)
5、jwt后端签发的吗

6、说下闭包
允许一个函数访问并操作函数外部变量,闭包发生在一个函数内部创建另一个函数时

function createCounter(){
	let count = 0;
	return function(){
		count++;
		return count;
	}
}

const counter = createCounter();
console.log(counter()); //1
console.log(counter()); //2

7、你们项目管理用git了吗
8、osi七层模型?看我不知道又换了个说法,url从点击到显示过程中用到了哪些协议

  • 应用层
  • 表示层
  • 会话层
  • 传输层
  • 网络层
  • 数据链路层
  • 物理层
    9、响应式原理说说(感觉很高频,每次面试几乎都有,我从vue2和vue3的区别扯到ref和reactive)
    Vue.js的响应式系统基于JavaScript对象属性访问器,getter和setter,以及现代浏览器的proxy对象,

技术问题就到此结束了,人家跟我说如果来了有完善的培养体系 。
Vue 2.x 响应式原理

  • 依赖收集
  • 依赖追踪
  • 派发更新

Vue 3.x 响应式原理

  • 使用Proxy
  • 依赖收集
  • 派发更新
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant