Next.js

· Next.js
🎉 구현 결과 🚩 구현 목표 1. 사용자의 검색 키워드와 일치하는 검색 목록 보여주기 2. 위, 아래 방향키로 검색 목록 이동하기 📝 컴포넌트의 전체 구조 더보기 export default function SearchFormWithList({ monsters, responsive, visuallyHidden = false, }: Props) { const { text, searchRef, listRef, filterdMonsters, selected, cursor, listOpen, handleTextChange, handleTextClear, handleOpenList, handleCloseList, handleLinkClick, } = useSearch(monsters); const pathname ..
· Next.js
NextAuth는 OAuth(Google, Github 등), Email, 아이디와 비번을 입력받는 Credentials 방식을 제공하고 있습니다. 프로젝트에 firebase의 익명 로그인 기능이 필요했는데, NextAuth 문서에는 이에 대한 지원을 찾아볼 수 없었습니다. 아래의 링크를 참고하여 NextAuth에서 익명 로그인을 구현할 수 있었습니다. 1. https://github.com/nextauthjs/next-auth/issues/568 2. https://next-auth.js.org/configuration/pages 3. https://next-auth.js.org/configuration/providers/credentials api route 설정 이 프로젝트에서 회원은 구글 OAut..
presentKey
'Next.js' 카테고리의 글 목록