본문 바로가기

Web & Mobile/React.js3

Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (83) GraphQL 해보려고 유데미 강사분의 깃허브를 clone 하고 나서 yarn start를 했는데 아래와 같은 문제가 발생 Error: Node Sass does not yet support your current environment: OS X 64-bit with Unsupported runtime (83) 지난번에도 context-API 강의 할때 github clone 하고 이런 상황이 발생해서 해결을 했었는데 기록을 해두지 않아서 어떻게 해결했는지 기억이 가물가물... 그래서 이번에는 해결전이지만 무슨 짓을 했는지 기록하며 진행하기로 계획 1. npm uninstall node-sass 2. npm install node-sass 3. npm rebuild node-sass 했는데 안됨.. 보니.. 2021. 7. 17.
React HOOK을 위한 읽을 거리[중요!!!!] useEffect : https://overreacted.io/ko/a-complete-guide-to-useeffect/ useEffect 완벽 가이드 이펙트는 데이터 흐름의 한 부분입니다. overreacted.io https://react-redux.js.org/api/hooks https://www.robinwieruch.de/react-hooks-fetch-data Hooks | React Redux API > Hooks: the `useSelector` and `useDispatch` hooks` react-redux.js.org https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/api/hoo.. 2021. 6. 24.
React Hooks LifeCycle 요약 ComponentDidMount //Class componentDidMount() { console.log('I just mounted!'); } //Hooks useEffect(() => { console.log('I just mounted!'); }, []) ComponentWillUnmount //Class componentWillUnmount() { console.log('I am unmounting'); } //Hooks useEffect(() => { return () => console.log('I am unmounting'); }, []) ComponentWillReceiveProps //Class componentWillReceiveProps(nextProps) { if (nextProp.. 2021. 6. 22.