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

How to add item with redux?

this is reducers let defaultState = [] export default function reducer(state = defaultState, action){ switch(action.type){ case 'ADD_TODO': return { defaultState : ...
0
votes
0answers
4 views

ReactJS call axios to backend NodeJS for Google OAuth 20

I'm got stuck in calling from ReactJS using axios in redux-thunk (run on localhost:3000) to NodeJS (on port 3001) with Google OAuth20 + Passportjs. I use Postman for testing backend and it works fine....
0
votes
0answers
4 views

Is it possible put react in spring boot or j2ee instead of start a new server

For most implementation is start react in separate server like localhost:3000 and then call back-end by HTTP request. Is it possible to put the bundle js and html to webapp in springboot or j2ee.
0
votes
0answers
5 views

Can't Render Data From API in react native

i want to render data from API, but when i want to view the data in render can't appear here my code, i got my error the data soal_id is undefined. How to make appear the data with the true way? when ...
0
votes
1answer
13 views

Set State cause use memo rerender

Here is the code , no idea why Mem re-render after set state, as it is a memoized component, or if i wanna remember the component with set state, i should use useRef? that stupid?? const Demo = () =&...
0
votes
0answers
11 views

CSS even cell width within table

I'm trying to show calendar where days have even width. However day with smaller content has shorter width than days with larger contents.. Here's code for calendar import _ from 'lodash' import ...
0
votes
0answers
6 views

Trouble inserting React object into sequelize/MySQL database

My front end and backend are connected but it is not inputting the values into my MySQL database from a React form. When I console log the response I get from my React app it logs {name: "han solo",...
0
votes
1answer
18 views

How to test functionality of function props in storybook?

I have a parent component, <AssetSelectorMenu>, which is composed of two child components: export const AssetSelectorMenu = (({ assets, sortByName }) => { return ( <> <...
0
votes
0answers
11 views

is there a way to hide mobile menu links when drawer is closed?

I have a mobile menu that I hide using clip-path when isOpen = false. But when tabbing through site on desktop it tabs through the links in navigation header and after the last one, it starts going ...
0
votes
1answer
12 views

Expo error only on phone: invariant violation: Text strings must be rendered within a <Text> component

I am trying to create a simple application with a context provider, when running the application on my phone using Expo application, it throws an error like in this photo here is my app.js file: ...
0
votes
0answers
20 views

Class Names in contenteditable text divs

return ( <div onMouseUp={() => { this.handleMouseUp(); this.showMenu(); }} className="sectionWrite" contentEditable="true" > ...
0
votes
0answers
14 views

Can you create a react redux store interceptor to watch a property?

Let's say i have a property in the store called state.items.byId each time this is updated (various parts of the application) i want to intercept the value before i'ts updated and run a function to ...
0
votes
0answers
5 views

Integrating revolution slider with React, problems when changing routes

So from the title itself. I already integrated a revolution-slider that is supplied by the theme I bought. It works fine and loads all the necessary scripts when I first load the page. However, the ...
0
votes
1answer
16 views

Calling a promise in a recursive function

I'm trying to find the best way to go about this service call where I retain all the data in a single object. The call returns an object that also returns a url if there is next page I'm recursively ...
0
votes
2answers
22 views

Having trouble with onMouseEnter event in React

I'm trying to build a navbar, using React and hooks, where each div will change to a specific color on an onMouseEnter and onMouseLeave. I can't figure out why they're all affected if i hover over one....

15 30 50 per page
1
2 3 4 5
14458