본문 바로가기

전체 글

(143)
[Solidity] by value VS by reference 크립토 좀비 풀어보다가 헷갈려서 찾아봤다. 파이썬 공부하면서도 나오는 개념이었던 거 같은데.. 맨날 까먹는다..🥲 괜찮다. 까먹을 때마다 와서 보면 된다. A(initial value)로 B를 만든다고 하자. By Value - B는 A의 새로운 복사본이다. - B를 수정한다고 해서 초깃값 A가 변하지는 않는다. ex) Assigning storage to memory uint[] storage A = [1, 2, 3]; uint[] memory B = A; // value of A is copied over to B // modifying B will not change A By Reference - B는 단순히 A가 저장된 곳을 가리킨다.(포인터 역할) - A의 새로운 복사본은 생성되지 않는다. - ..
[개발 환경 설정] Next.js + Typescript + Styled-components https://mniyunsu.github.io/nextjs-styled-component-setting/ Next.js + Typescript + Styled-components 개발 환경 설정 | YUNSU BAE Next.js + Typescript + Styled-components 개발 환경 설정를 기록해두자. mniyunsu.github.io https://nextjs.org/docs/getting-started/project-structure Getting Started: Project Structure | Next.js Using App Router Features available in /app nextjs.org next는 auto-routing을 해주기 때문에 그 폴더 구조와 컨벤션들..
[Next.js] 230703 학습일기 https://nextjs.org/learn/basics/create-nextjs-app/ Learn | Next.js Production grade React applications that scale. The world’s leading companies use Next.js by Vercel to build pre-rendered applications, static websites, and more. nextjs.org 1. You should keep the development server running, but if you want to restart it, hit Ctrl + c to stop the server. Navigate between Pages 2. Pages in Next.js..