澳门官网真人赌博

Questions tagged [reactjs]

React (also known as React.js or ReactJS) is a JavaScript library developed by Facebook for building user interfaces. It uses a declarative, component-based paradigm and aims to be both efficient and flexible.

Filter by
Sorted by
Tagged with
0
votes
0answers
3 views

React useState on complex object not giving correct results

I have a problem that I am stumped on. I have a React project using ag-grid to present checkbook transactions. Every row in the grid has an Edit and a Delete button. On the page, there is also a ...
0
votes
0answers
6 views

Send Email using Go and React

I'm building an application with Go in the backend and Reactin the front . I'm trying to send an email using smtp . How can I do ? PS : i'm using Apollo GraphQl
0
votes
0answers
5 views

how to upload image from website on heroku

I can't upload image website file = request.files['file'] filename = secure_filename(file.filename) filename = str(id)+"."+filename.split(".")[-1] file.save(os.path.join(app....
0
votes
0answers
12 views

ComponentDidMount not firing in ReactJS

I have suddenly run into this problem in my app, the componentDidMount does not work when loading the page and I get typescript error due to the information not being loaded. It was working fine ...
0
votes
2answers
12 views

Stop Google Map to re render while writing codes

Is it possible not to re-render when I make changes to code on React? Cause, it will send API requests every time I make changes to my codes. Or, any other way to minimize API request while developing ...
0
votes
0answers
7 views

Snapshot tests fail after replacing usual umports on lazy imports jest

Before i replaced imports on React.lazy, all tests were passed fine. But after replacing , errorlog told me that some code threw Exception(but no details about error) A React component suspended ...
0
votes
0answers
8 views

react-hook-form controller with validation based on value

I am using react-hook-form library and have a controller for a date picker According to the documentation, the rules should work exactly as the validation set inside the register. It works with { ...
0
votes
2answers
17 views

drop down menu hiding behind content

I have a screen that looks like this: return ( <SafeAreaView> <View style={styles.container}> <View style={styles.topContainer}> <View style={styles....
0
votes
0answers
19 views

unable to reset Input field

On my screen, I have an input field that looks like this: export const FavouritePointInput: React.FunctionComponent<FavouritePointInputProps> = ({ getMyLocationCoordinates, textChangeHandler,...
0
votes
2answers
13 views

Graphql mutation returning a Post 400 Error, not sure how to resolve

I attempting to use an input form in React to perform a graphql mutation and add a team to the database, which will result in a team card appearing on my React FrontEnd. I am able to perform mutation ...
0
votes
0answers
5 views

How to save item of FlatList in AsyncStorage react native?

i have a Flatlist that the data loaded from state. what i wan to do this when i click to a heart Icon that item addToWishlist using AsynStorage i dont have any idea in my AddToWishList() function can ...
0
votes
4answers
29 views

JS: Converting dictionary to a list of dictionaries

I have a dictionary and I want to map it so that it becomes a list of dictionaries. How would I do that in js? var dict = { "key1" : 100, "key2" : 200, "key3" : 300 } ...
0
votes
0answers
5 views

React Native - expo won't play local file? "Invalid prop 'source' supplied..'?

This is very strange. I copied the expo-av Video example for Expo and React Native from https://github.com/expo/examples and it works well.. loading from a remote link. The example that works: <...
0
votes
1answer
19 views

How not to lose the values ​of an array in React?

I need to mount a dynamic 'select' on the react, but I have a problem. I'm doing a 'for' to call an API, however as the 'for' is executed, I lose the previous values. How can I maintain these values? ...
0
votes
0answers
10 views

Gatsby & React - Is it possible to update component props at runtime?

I have a React component that receives props from a graphql query in the index page. This allows for server side prerendering. However, I would like to make a client side DB call at run time to get ...

15 30 50 per page
1
2 3 4 5
15329