Mongodb – How to share data locally between node app and react
The thing is - I have nodeJS app (not an API) and a react app. I need to share some json data from node app to react, so that react is able to display it. I tried to write json…
The thing is - I have nodeJS app (not an API) and a react app. I need to share some json data from node app to react, so that react is able to display it. I tried to write json…
I have first array - let parent = [ { id:1, value:"ABC", }, { id:2, value:"DEF", }, { id:3, value:"GHI", }, { id:4, value:"JKL", }, { id:5, value:"MNO", }, { id:6, value:"PQR", }, ] And 2nd Array Object - let…
I’m setting up a subdomain where users can upload updates to the database. The correct data gets sent from the front end, and the API connects to the database successfully but stops there. I can’t figure out why. app.post('/newsupdate', (req,…
Hi everyone I have images locally uploaded and I want to upload them to Firebase Storage(which I am successfully uploading ) after that I get their downloadURL with getDownloadURL. since I am going to add multiple images to the collection…
I am trying to use mapbox in react native and i want the location of the user. the function mapbox.userlocation can be used with the mapbox.mapview. but i would like to use the location in some other way too. Any…
I have a flatlist where it gets the itemCount from another page, I increment it with a button, its value changes but won't be seen on the screen without pressing ctrl-s or going to another page and return. <FlatList extraData={store}…
The function getImages is suppose to run once only on page load. When i refresh the page the both tempQuestionImages and questionImages is empty. But when a hot reload is done it works perfectly. I use nextJs and firebase,cloud storage…
I'm having a trouble in a flatlist that a button increments the value but doesn't show if I don't refresh or hit ctrl-s after incrementing value. Basically I cannot see the value change without pressing ctrl-s or going to another…
In my front-end I am trying to map through nested objects which is coming from back-end Laravel collection: [ { "id": 1, "name": "Chips", "product_categories_id": 1, "category": { "id": 1, "category": "Chips", "brand": "Bombay Sweets" } }, { "id": 2,…
Is it possible to make StatusBar semi-transparent with an opacity of 0.8? if I pass backgroundColor={"transparent"} like in the docs it becomes fully transparent without color. Docs https://reactnative.dev/docs/statusbar <StatusBar style="light" backgroundColor={"red"} translucent />