All Questions
3,321
questions
-1
votes
0
answers
19
views
Handling non-JSON responses in React useRequest hook
I deployed my React project, but it doesn't work as expected. In development mode, everything works fine, but in production json is not read properly. Here is my code where error happens:
import { ...
0
votes
1
answer
39
views
I am requesting access token from FHIR sandbox and receive token but error of invalid_grant
I am requesting an access token from FHIR sandbox for a standalone web app (no client secret). On my redirect page I collect code and state from URL, and then fetch access token.
export default ...
0
votes
0
answers
30
views
Trouble verifying Google token in Flask application
I'm developing a web application using Flask for the backend and React for the frontend, integrating Google Sign-In using OAuth2. I have a /verify-google-token endpoint in Flask to handle POST ...
0
votes
0
answers
40
views
I'm having an data loss issue using line Graphs in ApexCharts
ApexCharts seems to modify/remove some data, I'm not quite sure if this is a skill issue of mine, or something else.
I'm getting data from an API from my server, the APIs data is intact and seems to ...
0
votes
0
answers
19
views
Data Fetch Fails in Production Environment for React App Hosted on Subdomain
I have a WordPress website hosted on Hostinger, and I've created a subdomain to test my React website deployment.
In my local development environment using VS Code, the data fetch works perfectly with ...
0
votes
1
answer
229
views
How can I dynamically change app name and icon for my react native app in real-time?
There's this project that I am working on, using React Native for Android and iOS devices. My client wants me to change app icon and app name when certain event is triggered. Is it even possible? If ...
0
votes
0
answers
60
views
Uncaught runtime errors: ERROR JSON.parse: unexpected character at line 1 column 1 of the JSON data
I copy pasted a gfg code (https://www.geeksforgeeks.org/how-to-connect-mongodb-with-reactjs/) which connects mongodb with react.I followed the steps as mentioned but got the error "Uncaught ...
0
votes
0
answers
31
views
Is There Solution To Solve My Unique Case on VirtualizedList Problem
I got this warning: VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like ...
0
votes
1
answer
38
views
I have been trying to upload a file to an api but getting this error Objects are not valid as a React child, use an array instead
I have been trying to submit a file to my API but I am getting this:
Objects are not valid as a React child. If you meant to render a collection of children, use an array instead.
Below is my code ...
2
votes
0
answers
36
views
facing problems sending a post request of arraylist of object as an input through the fronted(react.js)
I'm working on a full stack beginner project and backend is in Springboot and the post request to add players to a team requests an arraylist of playerdto objects as it's input, when testing through ...
-1
votes
1
answer
97
views
Display array of objects in an HTML table
I have this below array of objects as follows
const initState = [
{ id: 1, name: "bread", quantitiy: 50 },
{ id: 2, name: "milk", quantitiy: 20 },
{ id: 3, name: "...
0
votes
0
answers
18
views
how to import a .shp file on a react js project and display it on a leaflet map
how to import a .shp file on a react js project and display the contents of the shp file on a leaflet map
tried converting the shp file into Json and geojson then import them into the project but ...
0
votes
1
answer
44
views
In React, I can store my data in LocalStorage via JSON, but can't seem to pull it out on reload
I manage to put the data item into JSON, but on useEffect, on reload, the item somewhat reloads, but it always gets rewritten, and I get red line under (localStorage.getItem('chatLInes')) part and ...
0
votes
1
answer
27
views
how can I add filter to search bar of website by j.s
i have question in search bar .
in a page I have at least 30 product .
i will add filter that when client search the name of product ,product show .
i tried to craete filter but I couldnt write ...
-2
votes
1
answer
60
views
How to get values of the first element of fetch reponse [duplicate]
I try to get values of the first element of my fetch request.
Here you can see my code -> the result of the fetch-request is assigned to "data" variable.
const ListRezept = (props) => {...