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
0
votes
0answers
14 views

The best practice to set a token in the header to request a graphQL

I am working on an authentification module with a React Native Front and RoR Back with GraphQL. GraphQL gaves me a token if the email and the password are matching. Then, I want to pass this token in ...
0
votes
0answers
9 views

How to improve Webpack production build

I am using webpack to build my react app. But it takes more than 30 mins to build. Here is the webpack configuration I am using in my project. module.exports = (env) => ({ entry: './src/client.js'...
0
votes
0answers
14 views

How to handle pagination with an API call with offset in React?

First of all, I would like to say I've came across a few solutions while searching for how to make pagination but the situation is a bit different. The examples i founded consisted on making the full ...
0
votes
0answers
11 views

SCSS not reloading - React Webpack

When I makes changes to scss files, the browser does not reflect the changes unless I refresh. It was working with style-loader. However, it only works sometimes — not sure if it's an issue with the ...
0
votes
0answers
12 views

How can i solve this error: Assignment to property of function parameter ref?

I want to use a useRef to change the value from the child component: const ref = useRef(false); I am passing the ref to my childcomponent: ChildComponent( ref={ref} ) ...
0
votes
0answers
10 views

NextJS & Vercel: Website not rendering/using CSS & ReactJS

Our business is currently exploring Vercel to deploy our new landing pages written in React & NextJS. When running them locally (yarn dev) everything works correctly (both css imports and React ...
0
votes
0answers
5 views

I Get An Error When I Use mapbax-gl.css with react/typescript

When i built a map with mapbox-gl by using react/typescript, i got an error where i imported css file for the mapbox-gl "import 'mapbox-gl/dist/mapbox-gl.css';" i cant figure out what kind ...
0
votes
0answers
9 views

How to keep a react native app running in the background

so i am using RN sms listener to listen for incoming sms and i wrote a small code that allows me to anwser the sms if it contains some keywords, in foreground the app works fine however when i close ...
-1
votes
1answer
24 views

React filtering cards

I built an app calling an API. Now trying to build the search bar but the filtering doesn't seem to work and I'm not sure what's wrong inside the filter function... Here's the render: render() { ...
0
votes
0answers
7 views

list-item as a navbar react

import React, { Component } from 'react'; import { Nav, Navbar, NavbarBrand, NavbarToggler, Collapse, NavItem, Jumbotron, Button, Modal, ModalHeader, ModalBody, Form, FormGroup, Input, Label ...
2
votes
0answers
20 views

ContentEditable div focus. cursor goes little up in EDGE and IE browser

In my React component, I have written below code in render function of a pop up. When the popup comes up, ref.focus() gets executed,and focus comes on the div, but cursor blinks little up. This is ...
0
votes
0answers
7 views

Page-layout -> getPrintArea() in office-JS is returning blank Object

we are working on developing excel add-in using office-JS and We are using "https://appsforoffice.microsoft.com/lib/1/hosted/office.js" official production API's. we are able to set the &...
0
votes
0answers
16 views

React component props interface based on a prop value through React.forwardRef

I created a component that is either a MuiButton or a MuiLink based on a boolean prop called button. It works but wrapping it in React.forwardRef breaks it. I need to wrap it so the ref is correctly ...
0
votes
0answers
7 views

React Native Android 9+ / Animated Cube Navigation Problem

I created for a React-native App a Cube Navigation for 4 Views. We have problems with Android Versions 9 and 10. The Problem is, sometimes when the User the App opens. Then Only Works the ...
0
votes
0answers
10 views

NGINX Run multiple application on same port with different route path

I have two applications, app1 is developed in reactJS and app2 in angularJS sharing same login session, - Application 1 http://application-1:1234/ - APplication 2 http://application-2:2345/ My ...

15 30 50 per page