Skip to content

Instantly share code, notes, and snippets.

View KoreSamuel's full-sized avatar
✍️
Focusing

KoreSamuel KoreSamuel

✍️
Focusing
View GitHub Profile
TypeScript 4 hrs 20 mins ██████████████████▍░░ 87.8%
JavaScript 17 mins █▏░░░░░░░░░░░░░░░░░░░ 5.7%
C++ 6 mins ▍░░░░░░░░░░░░░░░░░░░░ 2.0%
JSON 5 mins ▍░░░░░░░░░░░░░░░░░░░░ 1.9%
Other 3 mins ▏░░░░░░░░░░░░░░░░░░░░ 1.0%
  1. computed 和 watch 的区别和运用的场景?vue是如何实现这两个功能的?
  2. keep-alive,原理?
  3. vue的组件有哪些生命周期?
  4. vue的渲染过程(只说出关键节点)?
  5. vue的指令是怎么实现的?有哪些生命周期
  6. vue的style可以加scope,是怎么做到的?
  7. vue3有什么新特性
  8. Vue css scope 怎么实现的
  9. 批量异步更新策略及 nextTick 原理
  10. Vuex 状态管理的工作原理
  1. 写出以下代码在浏览器中执行的输出顺序,并简要阐述执行过程
console.log('start')


function fn() {
    console.log('fn');
}
  1. 实现一个函数 find(obj, str),满足以下
const obj = { a: { b: { c: 1 } } };
find(obj, 'a.b.c') //1
find(obj, 'a.d.c') //undefined
const find = obj => {
    // TODO...
}
@KoreSamuel
KoreSamuel / tmux-cheatsheet.markdown
Created May 23, 2018 07:26 — forked from ryerh/tmux-cheatsheet.markdown
Tmux 快捷键 & 速查表

Tmux 快捷键 & 速查表

启动新会话:

tmux [new -s 会话名 -n 窗口名]

恢复会话:

tmux at [-t 会话名]
@KoreSamuel
KoreSamuel / quiz.md
Created June 20, 2017 06:39 — forked from everthis/quiz.md
quiz
  1. img标签的alt和title分别有什么作用?

  2. 类似 ul { MaRGin: 10px; } 这样的CSS属性名是大小写敏感的吗?

  3. lorem的颜色是什么颜色?

<style>
ul#awesome {
    color: red;
}
@KoreSamuel
KoreSamuel / interview.md
Created June 20, 2017 06:37 — forked from everthis/interview.md
interview
  1. 说明<dl>, <dd>, <dt>, <ol>, <ul>, <figure>, <figcaption>的使用场景。

  2. CSS的at-rule(@)有哪些?举例说明分别有哪些作用。

  3. I am awesome文字的颜色是?

<style>
  #awesome .favorite:not(#awesome) .highlight {
    color: red;
  }