📅 2022.11 ~ 2022.12
Github ‣
Notion Interface
Tech Stack (frontend)
TypeScript
React
Recoil
Socket.io
WebRTC
Docker
Nginx
Github Actions
<aside> 💡 interface 서비스의 주요 기능중 하나로 아래 기능을 수행합니다.
⛑️ 다수의 이벤트에 다수의 상태가 얽혀있어 로직들의 높은 complexity가 문제
Recoil
의 Selector
를 활용해 참조하는 시점에 로직이 발동되도록 설계했습니다.export const focusIndexSelector = selector({
key: 'focusIndexSelector',
get: ({ get }) => {
const startTimeList = get(feedbackIdsState).map((ids) => +ids.slice(0, 6));
return lowerBound(startTimeList, get(currentVideoTimeState));
},
});