Posts by Joseph Isaac • 38 points
5 posts
-
0
votes0
answers16
viewsQ: Updating a subcollection on Mongodb
I have a Collection called purchase with various data, among them: const purchase = new Schema({ datePurchase:{type: Date, default: Date.now()}, ... products:[{ product: {type: String}, category:…
-
0
votes1
answer400
viewsA: Installation error/project start with React-Native
Oops, watch the Celke tutorial on how to install React Native, it is well explained and worked with me and my friends! https://www.youtube.com/watch?v=a3Ehi3cypDA&t=1s…
-
0
votes2
answers1538
viewsA: Update useEffect from the navigation.goBack page?
The simple way to do this is exactly as was said by the 'Virgilio Novic'. In short, on the screen you want to return, in useEffect you write: const [load,setLoad] = useState(true) useEffect(()=>{…
-
2
votes1
answer155
viewsQ: Axios: stop in GET does not work - React Native
I have a database in Mongo with customers and establishments. I want to recover the establishments filtered by category. My code is like this: const [datas, setDatas] = useState([]) //recupera os…
-
0
votes0
answers25
viewsQ: Sqliteopenhelper Error(8,8)
I’m starting to program in Android and want to make a class with a database. package josephisaac.com.wmvendas; import android.database.sqlite.SQLiteDatabase; import…