오늘까지 한 일
- 어제는 집을 구하러 다니느라 하루를 다 썼다. 그래도 결과가 좋아서 헛수고하진 않았으니 만족스럽다.
- React-admin에 json-server로 fake API 적용: 예전에도 했었는데 지난 기록을 찾아보니 그때는 이게 무슨 의미인지 모르고 했던 것 같다. 기록을 남겨놨다는 것조차 기억을 못하고 있었으니ㅋㅋ..
다시 적어두려고 보니 이미 있네!? - React-admin에서 사용되는 dataProvider와 authProvider 파일을 살펴보고 공식문서에서 dataProvider 부분을 찾아 읽었다. 파일은 타입스크립트로 작성되어 있어서 타입스크립트의 공식문서도 함께 참고하며 보느라 진도가 빨리 안 나간다.
오늘 배운 것
json-server
Get a full fake REST API with zero coding in less than 30 seconds
www.npmjs.com
React-admin - Data Providers
Data Providers Whenever react-admin needs to communicate with the API, it calls methods on the Data Provider object. dataProvider .getOne('posts', { id: 123 }) .then(response => { console.log(response.data); // { id: 123, title: "hello, world" } }); It’s
marmelab.com
Documentation - TypeScript for JavaScript Programmers
Learn how TypeScript extends JavaScript
www.typescriptlang.org
'post항해_배움일지 > 개발일기' 카테고리의 다른 글
개발일기_211004_React-native-cli (0) | 2021.10.04 |
---|---|
개발일기_211001_첫 출근! (4) | 2021.10.01 |
개발일기_210930_React Native, React Navigation, Expo (0) | 2021.09.30 |