profile
프론트엔드 개발자입니다.

Next.js rendering

2023년 5월 6일
·
0개의 댓글
·

lv2 가장 큰 수 (sort 원리)

sort 원리

2023년 3월 8일
·
0개의 댓글
·

lv0 로그인 성공? (Map 활용하기)

Map 활용

2023년 3월 8일
·
0개의 댓글
·

lv0 소인수분해

소인수분해

2023년 3월 2일
·
0개의 댓글
·

최대 공약수, 최소 공배수

유클리드 호제법

2023년 3월 2일
·
0개의 댓글
·

lv0 가위바위보 (if문 지우고 객체 활용)

if문 지우고 객체 활용

2023년 3월 2일
·
0개의 댓글
·

lv0 특정 문자 제거하기 (split 활용)

split 활용

2023년 3월 2일
·
0개의 댓글
·

lv0 짝수는 싫어요 (고차함수 활용)

고차함수 활용

2023년 3월 2일
·
0개의 댓글
·

lv0 최빈값 구하기 (배열을 순회하여 객체 만들기)

고차함수를 활용

2023년 3월 2일
·
0개의 댓글
·

lv0 분수의 덧셈 (gcd, lcm)

유클리드 호제법을 활용하여 최대공약수, 최소공배수 구하기

2023년 3월 1일
·
0개의 댓글
·

no-restricted-syntax

iterators/generators require regenerator-runtime, which is too heavyweight for this guide to allow them. Separately, loops should be avoided in favor of array iterations.eslintno-restricted-syntax ht...

2023년 1월 12일
·
0개의 댓글
·

Enforce a specific function type for function components

Function component is not a function declarationeslintreact/function-component-definition https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/function-component-definition.md

2023년 1월 12일
·
0개의 댓글
·

arrow-body-style

Unexpected block statement surrounding arrow body; move the returned value immediately after the =>. https://eslint.org/docs/latest/rules/arrow-body-style

2023년 1월 12일
·
0개의 댓글
·

Disallow usage of button elements without an explicit type attribute

Missing an explicit type attribute for buttoneslintreact/button-has-type https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/button-has-type.md https://nykim.work/96

2023년 1월 12일
·
0개의 댓글
·

jsx-a11y/click-events-have-key-events

Visible, non-interactive elements with click handlers must have at least one keyboard listener.eslintjsx-a11y/click-events-have-key-events Non-interactive elements should not be assigned mouse or keyb...

2023년 1월 12일
·
0개의 댓글
·

eslint setting

eslint setting

2023년 1월 8일
·
0개의 댓글
·

CSR SSR 차이

CSR SSR 차이

2023년 1월 7일
·
0개의 댓글
·

임시 변수를 제거하자

임시 변수를 제거하면 함수 내부적으로 가독성이 좋아지고, 사이드 이펙트를 줄일 수 있습니다.

2023년 1월 7일
·
0개의 댓글
·
post-thumbnail

객체를 배열로 바꾸는 메서드

2019 KAKAO BLIND RECRUITMENT 실패율 문제를 풀다가 아래 객체의 key를 value 기준으로 정렬해야 하는 케이스입니다.이때 사용할 수 있는 메서드가 Object.entries() 입니다.Object.entries()는 key 와 value 를 \

2022년 12월 30일
·
0개의 댓글
·
post-thumbnail

toString, parseInt 로 진법 변환하기

toStirng 메서드는 문자열을 반환할 뿐 아니라, 10진수를 다른 진수로 변환할 수 있습니다.10진수 123을 2진수로 변경하는 방법은 아래와 같습니다.parseInt 함수는 다른 진수를 10진수로 변환할 수 있습니다.2진수 1111011을 10진수로 변경하는 방법

2022년 12월 28일
·
0개의 댓글
·