menu
Log In
Register
menu
Login
Register
Questions
Hot!
Unanswered
Tags
Users
Ask a Question
About us
Cookie Policy
Home
Tag
redux
Recent questions tagged redux
2
votes
1
answer
Is it normal to use data from different redusers in one component?
Is it normal to use data from different redusers in one component?
I have one page, for example, I need to load a list of students from one redirector, and a list of faculties from another. Isn't that legal? Isn't there any contradicti ...
react
redux
by
danyvasnafig
asked
Sep 24, 2021
1
vote
1
answer
How do I redraw App.js?
How do I redraw App.js?
I use react-redux in my project. There is some string variable stored in the stor, I change it from the internal pages of the site. The problem is that in App.js I can't ...
react
redux
by
zlodiak
asked
Sep 22, 2021
1
vote
1
answer
React/Redux How to properly sort an array of data by sending time?
React/Redux How to properly sort an array of data by sending time?
I have an array of users, each user has an array of messages with the date each message was sent. The task is to sort the user list component by sending time, so that u ...
react
redux
by
David-Bon
asked
Sep 22, 2021
1
vote
1
answer
Why doesn't reducer see the array change?
Why doesn't reducer see the array change?
Good evening, question about react and react-redux. I have a store with comments and I want to add another comment to it. It is added, but the component displaying the c ...
react
redux
by
Andreeyyy
asked
Sep 20, 2021
3
votes
1
answer
How to organize the structure of queries in Next.js?
How to organize the structure of queries in Next.js?
Hello, everyone! I'm writing a small cafe aggregator. In the process of transferring the project from React.js to Next.js I read all the documentation several times, b ...
react
redux
server-side-rendering
by
Fdrsmrdv
asked
Sep 19, 2021
1
vote
1
answer
What does node.js refer to when showing a server startup error?
What does node.js refer to when showing a server startup error?
I can not find on the Internet what is the error with the experimental import function. 100% error text will not be enough, so I expect questions what else to show from ...
node.js
redux
by
Ababinili
asked
Sep 19, 2021
1
vote
1
answer
I need the form fields to be cleaned when the data is sent to the back, how do I do this in the component(isClear comes from redux as a signal)u)?
I need the form fields to be cleaned when the data is sent to the back, how do I do this in the component(isClear comes from redux as a signal)u)?
spoiler import React, { useState } from 'react'; import { createSelector } from 'reselect'; import { connect } from 'react-redux'; import './CustomInput.css'; import { ...
typescript
react
redux
by
KnopkaNen
asked
Sep 19, 2021
1
vote
1
answer
How do I get the correct data from the Redux store?
How do I get the correct data from the Redux store?
Hi all, I'm new to radish and tapscript. I'm currently learning both, putting them into practice right away. I have a simple React application and have a data file. Init ...
Frontend
typescript
react
redux
by
arishaYako_14
asked
Sep 19, 2021
1
vote
2
answers
How do I bring up the state in the parent component?
How do I bring up the state in the parent component?
I have a presentation component that is nested within the parent component. Within the presentation component, a local state is used. This is the wrong approach so I wou ...
react
redux
by
zlodiak
asked
Sep 18, 2021
1
vote
2
answers
How does redux handle actions?
How does redux handle actions?
Let's say there are 10 redirectors. One of them reacts to action.type ADD_ITEM So when you call this action (ADD_ITEM), the redactor goes through all the redactors and ...
react
redux
by
eugenedrvnk
asked
Apr 3, 2021
1
vote
1
answer
How do I launch into the property of the state?
How do I launch into the property of the state?
I wrote a form that sends its content to the global state. The reduser looks like this: const messagesReducer = function messagesReducer(state = { messages: }, actio ...
redux
by
zlodiak
asked
Apr 2, 2021
1
vote
1
answer
Why does it cause an error when writing to the state?
Why does it cause an error when writing to the state?
action export const fetchQuote = url => { return dispatch => { fetch(url) .then(res => res.json()) .then(res => dispatch({ t ...
react
redux
by
depstor
asked
Apr 1, 2021
1
vote
1
answer
How do I filter an array by name in react redux?
How do I filter an array by name in react redux?
I get the data from the random users API. I get the data from the random users API. reducerimport { FETCH_USERS, SEARCH_VALUE, } from "../actions/actionTypes";export fu ...
javascript
react
redux
by
light-time
asked
Mar 29, 2021
2
votes
2
answers
Ivan
Ivan
The state crashes when switching between tabs, and I can't add componentDidMount to it because it interferes with shouldComponentUpdate. I put the value from redix into ...
react
redux
by
BenderIsGreat34
asked
Mar 29, 2021
1
vote
1
answer
How do I type a function?
How do I type a function?
There is a problem with typescript and function dispatch, I don't know what type to apply. Here is the code of the action where the error occurs: import { Dispatch } fro ...
typescript
redux
by
stepan132
asked
Mar 26, 2021
1
vote
2
answers
What's the best way to make asynchronous queries in a React container component so that updated props come into the presentation component?
What's the best way to make asynchronous queries in a React container component so that updated props come into the presentation component?
Good evening, I was faced with this problem. I need to display a list of projects that I keep in the MongoAtlas cluster. I use axios to make a request to the server, lo ...
react
redux
by
Zhanna_K
asked
Mar 25, 2021
2
votes
2
answers
How to build communication between redusers, and is it worth it?
How to build communication between redusers, and is it worth it?
Good night. There is a state slice (one redirector), which stores a list of entities from API, isLoading flag and at the same time search data: filter and results. I wou ...
react
redux
by
Heian
asked
Mar 25, 2021
1
vote
2
answers
Ошибка "Действия должны быть обычными объектами. Использовать пользовательское промежуточное ПО для асинхронных действий". Как решить?
Ошибка "Действия должны быть обычными объектами. Использовать пользовательское промежуточное ПО для асинхронных действий". Как решить?
There is a smart component:function MethodWrapper(props) { const API_METHOD = ... function submitHandler(event) { event.preventDefault() if (!props.met ...
react
redux
by
uroot
asked
Mar 23, 2021
1
vote
1
answer
What is the correct way to class the active button in ReactRedux?
What is the correct way to class the active button in ReactRedux?
There is a smart component and a dumb one. In the dumb one, the buttons are rendered: spoiler The silly component itself looks like this: import React from 'react';impo ...
react
redux
by
uroot
asked
Mar 23, 2021
1
vote
2
answers
What is middleware for?
What is middleware for?
Why can't I query the component and put the data into the state? ...
react
redux
by
justedoit
asked
Mar 23, 2021
Page:
1
2
3
4
...
39
next »