bst365体育投注网址大全

Dark mode beta

You’ve been asking for dark mode for years.
The is finally here.

Change your preferencesbst365体育投注网址大全 any time.

Questions tagged [reactjs]

bst365体育投注网址大全 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
4 views

Avoiding keyboard in react-native from opening while input get focus

I want to avoid keyboard from opening when TextInput get focus and then in a few seconds later I want to open it programmatically, but right now I can't stop it from auto opening. How can I do it. ...
0
votes
0answers
3 views

Azure Functions equivalent of Startup.cs

I would like to make a call to get a signing key from the JWKS endpoint (first issue) on Azure B2C and store it in memory (second issue). Thereafter I would get it from memory and use it to validate ...
-1
votes
0answers
7 views

Testing a handleChange prop function in component using Jest/Enzyme

I'm trying to test a function that is called when a user inputs text into an input element. I have tried mocking the function and attaching it to an attribute of a shallow of the component, simulating ...
0
votes
2answers
14 views

How do I clear/reset input data in a react.js form?

I'm working on a React.js project. It's a project based on entering case study details. I'm trying to implement a cancel button that will clear the inputs and revert the user back to the first step in ...
0
votes
2answers
12 views

React component renders before I can set src of image

I have this application that flashes a series of cards. Some have questions with text. No problem there obviously. But the image source is being retrieved from firebase. On each render I check if it ...
0
votes
0answers
5 views

NextJs getServerSideProps redirect

How can I redirect inside my getServerSideProps in NextJs using Typscript. Currently I am fetching some data and setting them as my props which I display afterwards. The API Route needs the correct ...
0
votes
0answers
6 views

Flask + React project - favicon not showing up on the website

I have a flask + react project. The way I have configured the project is that I have a simple flask app and I initially had a separate react project built with create react app. However, I wanted both ...
0
votes
1answer
33 views

Searching with empty value returning empty array instead of entire data in react redux

I am creating a crud web app where I have rendered all the users into the table coming from third party API. Now, I am implementing a simple search box to filter table data according to First Name. ...
0
votes
0answers
22 views

Switch all class names

My team and I are working on a social media application built with React that we'd like to add a dark mode and light mode to. I've demo'd it so that I can write ternary in one class at a time and ...
0
votes
0answers
13 views

Random Quote Machine with React

For the challenge of Random Quote Machine I decided to try and replicate the example with React. Below is the link to the GitHub repository and the questions I have, which are also in the readme file: ...
1
vote
2answers
19 views

How to conditionally add a text to a component?

I want to add this line that says that the ninja is a master but only if the belt is red or black. I think I'm mixing up this type of function I'm trying to use. <div>{isMaster = () => { ...
1
vote
0answers
12 views

Going back to home page on refreshing/reloading or manually entering the URL in react

I am a beginner and trying to build a website using react. I created something similar to local:3000/University with the help of the code below <div> <BrowserRouter> <Route ...
1
vote
1answer
16 views

React Native setState issue using an Object

I don't why my setQuantity doesn't update the "quantity" variable using setState. Inside the function the object is updated, but not the variable "quantity". const [quantity, setQuantity] = useState({...
1
vote
0answers
6 views

Populate form via URL :id using ReactJS and Flux

I need to populate a form via the URL :id parameter, so that the user can edit the author name. I'm getting the following error when i click in the link to the author name: error when i click the ...
0
votes
0answers
14 views

Missing “}]” from json

In my ASP.NET Core application, when I fetch my api through Postman, everything works fine. In the browser, when I fetch the same api method I get unexpected end of json. When I look carefully at the ...

15 30 50 per page
1
2 3 4 5
13462