365体育足球滚球比分

Questions tagged [reactjs]

365体育足球滚球比分 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
3
votes
2answers
166 views
+50

Graphql: skip a parameter if its type is string

I have a graphql query for Markdown files which requests the title, author and coverImg from the frontmatter of the Markdown. Some Markdown files do not have a cover image, when there is no image, ...
4
votes
1answer
118 views
+50

Netlify is displaying the html version of my Gatsby website

The website build is at https://5efbc255ca51be00080b5219--epic-raman-086510.netlify.app/ . It looks like the javascript isn't running, and only the html version(supposed to only be displayed to search ...
2
votes
0answers
58 views
+50

Is it possible to make android webview based app less sensitive in interpreting taps as small drags?

I have and C# Xamarin android app that hosts a reactjs app in a webview. When using this app on a touch screen android device, It appears that occasionally tapping the screen is ignored. What appears ...
9
votes
1answer
139 views
+50

Authentication cookie disappears in react SPA after some time

We have an SPA, written in React together with ASP.net core for hosting. To authenticate the app, we are using IdentityServer4 and use a cookie. The client is configured according to the sample, ...
0
votes
1answer
64 views
+50

How do I update each dependency in package.json to the latest version using yarn?

I have a react app with deprecated dependencies. To make it work, I have to update the dependencies to their newer (but stable) versions. As per this stakoverflow thread, to update dependencies in ...
2
votes
0answers
171 views
+50

Firebase Firestore auth token infinite loop after signing in

When the app is connected to Firestore and a user is signed in (in our app), an auth token infinite loop appears. Without Firestore connection, this effect doesn't occur. You can see the issue on the ...
0
votes
1answer
78 views
+50

react node passing file through axios with multer error 500

I am trying to make simple form to pass file and some other data to my server. Later I will try to add database query, but now I don't see any data transferred there, so I am stuck. I created front-...
1
vote
1answer
33 views
+50

Why does my react table say that columns are undefined?

I'm trying to use react-table and it's throwing an error. It displays the following stack trace to the screen when I run it: It seems to be trying to create a map from the columns but throwing an ...
1
vote
1answer
52 views
+150

ReactTable7 with simple tooltip when hovering <th> elements

TL/DR: Want to display tooltips when hovering headers using react-table (v7 with hooks). I am attempting to create a simple tooltip for a table created in React using the new ReactTable library. I don'...
0
votes
0answers
73 views
+50

Dynamic Route with react/axios, nodejs/express

I have this situation. I have on my database 8 tables that each one will be an end-point. Each table refers to store calls from different groups. On my server-side node js/express and sequelize I have ...
-2
votes
1answer
94 views
+100

Detect adblock with react

I am trying to detect if AdBlock plus is running in firefox Every common answer I've seen which uses something like putting a div in which looks like <div id="ad-container"> <img ...
0
votes
2answers
56 views
+50

Expand/Collapse Logic for FlatList items - React Native

React Native App with a simple FlatList. Requirement: Dropdown arrow icon needs to be displayed only when message is more than 3 lines. Short messages will not have any arrow icon. Current Logic - I ...
1
vote
1answer
50 views
+50

Why credit card autofill doesn't work when production build but it works with npm start in my react application?

I have a very simple form in my react application to fetch the user credit card information as follows. <form autocomplete="on"> <input class="control" id="...
0
votes
1answer
27 views
+50

Material UI Tooltip not working with react-select options

I want tooltip on react-select's options. I have seen @atlaskit/tooltip working exactly like this but I want to use material ui tooltip which is not working when I tried. Can anyone please help me ...
0
votes
0answers
40 views
+50

How can I ensure that the Next.js router.query is not undefined?

I'm using next.js and the import { useRouter } from 'next/router'. However on initial load, router.query.id is undefined. It quickly fills in, but that initial load is a killer. I'm trying to figure ...