목록분류 전체보기 (373)
Silver Library (Archived)
지난번에는 Jikan API 로 Fetch API 와 함께 react 에서 개략적인 구성을 해 봤으니, 이번에는 GraphQL 을 이용해서 Jikan API 를 다시 한번 건드려 보고자 합니다. Jikan API 대신, 다른 API 를 사용해서 간단한 테스트 구동을 진행해보고자 합니다. 개요. react-query 를 주요하게 사용해서 REST API 데이터를 불러오기. 왜 이 실험을 하나요? 1. useEffect 보다도 보다 안정적이다 하기에. 2. 지난 인턴 때 겪었던 고충을 계기로 개선점을 알아가던 중, 추천받은 react-query. 3. axios 로 fetch 를 대체할 수 있다는 사실을 알게됨. 4. 아무튼 코드 길이가 줄어 듬. 5. hook 로 코드 개선하는게 꼭 나쁜건 아님 (적어도 ..
개념 복습 용으로 보기 좋아서 스크랩. 다만 도서를 별개로 구매해서 학습 및 복습 하는게 좋다고 생각합니다. 요약이다 보니 조금은 아쉬워요.
개요. The translate() CSS function (1) repositions an element (2) in the horizontal and/or vertical directions. Its result is a data type. 예시. 이걸로 백그라운드 배경 이펙트에 써먹을 수 있습니다. 참조. https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/translate translate() - CSS: Cascading Style Sheets | MDN The translate() CSS function repositions an element in the horizontal and/or vertical directions...
tl;dr typeDef, resolvers = schema & mutation, queries (as a notion) GraphQL schema basics Your GraphQL server uses a schema to describe the shape of your available data. This schema defines a hierarchy of types with fields that are populated from your back-end data stores. The schema also specifies exactly which queries and mutations are availa www.apollographql.com 우선, GraphQL 에서 data 를 request..