skip to Main Content

React Native – Assign value from promise to variable

I have a couple repositories containing database calls such as getUser and getUsers. Now I export those repositories as followed: import { DatabaseBackend } from "../common/database"; import { userRepository as _userRepository, bookingRepository as _bookingRepository, pricingRepository as _pricingRepository, } from "../common/repositories";…

VIEW QUESTION
Back To Top
Search