正规365体育投注

Dark mode beta

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

Change your preferences正规365体育投注 any time.

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
4 views

ReactJS 'guess the number game'

I've created a very simple 'Guess The Number' game with ReactJS which seems to be working well except it executes when the user changes the input and not on the button click as I expected. What am i ...
0
votes
0answers
7 views

Remember password autofill in chrome overlays on floating label

I am using floating-label-react library for my forms. It works fine except for one situation. It looks like this if any username and password is previously saved in chrome. But works fine in mozilla. ...
0
votes
0answers
8 views

Sentry: How to call custom event to sentry when an Api call response is error in reducer?

I am using Sentry for the first time, I got to know that using sentry we can report errors in our application.I want to implement sentry to particular API calls in application.So, in reducer when an ...
-3
votes
0answers
20 views

How to create fake data in ReactJs?

I'm new in React and I'm wondering if there is a way to make fake data ? For example : I want to seed a select list with names or an object variable .. Thanks
0
votes
0answers
4 views

Package or shortcut to jump to designated file by clicking on its import in atom

i have a file say example one which is importing some dependency file/component import datatoImport from "../sripts/module/parttoInclude"; i am looking for some package or shortcut so i can go to ...
-1
votes
0answers
29 views

how to display only 2 items for each alphabet list stored in an array - React JS

I'm a novice in Javascript & React JS. I have an array of objects in a React code which has hundreds of objects as below. var data = [{objectName: "Any", flag: "Y"},{objectName: "And", flag: "Y"},...
0
votes
0answers
20 views

window.onscroll arrow function not working in Safari

I'm trying to detect window position on scroll but the window.onscroll = () => {} function doesn't work in Safari, although it works fine in Chrome and Firefox. myFunction() { window....
0
votes
1answer
14 views

How to get the data from array object in JSON API? (React.js)

I need to retrieve data from a JSON API, but the data is in Array with the type of object. The data are contain timestamp. So I also need to convert it into the format of time in JavaScript. consider ...
1
vote
2answers
20 views

ReactJS - Spread operator syntax + hooks function error

I am new to Web development and in that uncomfortable zone of not knowing which words to use when doing a web search. I haven't learned much about classes, as my teacher told us to avoid using it, and ...
0
votes
0answers
8 views

React Redux Error - Could not find store in the context of “Connect(Form(SignUpForm))”

I'm currently trying to setup Redux form with my React app. I've done this a few times and never experienced an error like this. I have looked through a number of past projects, tutorials and docs. ...
0
votes
0answers
7 views

Change classname based on slider index position

I want to change the className based on the selected slider data-index position in http://stackblitz.com/edit/react-slick-slider-issues which is making use of React-slick-slider. Suppose if the user ...
0
votes
1answer
15 views

Possible Unhandled Promise Rejection (id: 1): TypeError: Network re quest failed

I am using react native verion >0.6 I am running my app in my mobile with nodejs and I have a stable internet connection I am making a register page in which I want to upload a photo and connect ...
0
votes
1answer
8 views

How to bring the response of an XHR request into state with React-Redux

I am trying to get the response of an XHR request as a prop in my React container. What I'm trying to do is make a GET request to an api, and turn the response into an object called "game" that I can ...
2
votes
0answers
7 views

Apollo client: select 1 active option using local state

I'm rather new to using the apollo client for managing the local state. I was wondering if some of you with more experience could give some guidance on how to do the following: I'm fetching a list of ...
0
votes
0answers
7 views

How to capture image from fabric.js canvas as base64?

I have been working on image editor which has some editing features. For placing stickers on image I'm using fabric.js canvas. Placing stickers on image is working fine but when I save canvas image as ...

15 30 50 per page
1
2 3 4 5
13319