728x90 전체 글574 getX 반응형상태관리 initialize RxList _matjipModelList= [].obs; RxList get matjipModelList => _matjipModelList; Map _progressText = {}; //일단 광장에서 받는 걸로 해결하자 RxSet selectedMatjips = {}.obs; RxList, RxSet의 경우 지네릭으로 initiallize 가 안되어서 걱정이었는데 앞에 지네릭을 붙여주면 initialize가 되는 것을 확인했다!ㅠ_ㅠ 2022. 6. 25. firebase 보안세팅 rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /Places/{docId} { allow read, write; } match /{document=**} { allow read; allow write: if request.auth.uid != null; } } } 어떤사람이 해낸 예시임, 나는 moim collection에 대해서만, https://stackoverflow.com/questions/69662434/firestore-allow-read-if-collection-name-matches Firestore allow read if collection name matches I'.. 2022. 6. 24. node js for문 일반적인 for문은 알고 있으니 생략, 추가적으로 만들수 있는 for문, foreach , for in , for of 다 다르니 확인 https://dydals5678.tistory.com/66 javascript - foreach 문 , for in 문 , for of문 ◎ foreach 문 ▼ 내용 foreach 반복문은 오직 Array 객체에서만 사용가능한 메서드입니다. (ES6부터는 Map,Set 지원) 배열의 요소들을 반복하여 작업을 수행할수 있습니다. foreach구문의 인자로 callback함 dydals5678.tistory.com foreach도 간단하게 가능하다. moimMemberSnapshot.docs.forEach(doc => { functions.logger.log(doc.id.. 2022. 6. 23. firebase function oncall과 on request 차이점 https://stackoverflow.com/questions/51066434/firebase-cloud-functions-difference-between-onrequest-and-oncall Firebase Cloud Functions: Difference between onRequest and onCall Going through the docs, I encountered: ...you can call functions directly with an HTTP request or a call from the client. ~ source there (link in the quote) is a mention about functions.ht... stackoverflow.com 2022. 6. 22. 이전 1 ··· 100 101 102 103 104 105 106 ··· 144 다음 728x90