Most voted "redux" questions
Redux is a state container for Javascript applications, based on the Flux application architecture.
Learn more…67 questions
Sort by count of
-
0
votes1
answer97
viewsText does not appear using React Hooks with Redux
I’m trying to get a string saved in my store state and put it in a text component, but the text is not showing up. To call the string, I’m doing it this way: import {useSelector} from 'react-redux'…
-
0
votes1
answer219
viewsReact Native - Appregistry.registerComponent with Provider
I would like to know why when I use the Preview like this //Root.js import React from 'react'; import { combineReducers, createStore, applyMiddleware } from "redux" import { listaDesejosList,…
-
0
votes0
answers20
viewsBlank lines in the datagrid component of Materialui
I have a problem, I am using the Material UI Datagrid component and every time I make a request and return me the data, new blank lines are also created, there is some way to change this component…
-
0
votes1
answer227
viewslocalstorage with React Redux
Good morning, I’m doing a test with React-Redux and localstorage .. it works normal however if I give F5 on the page it does not recover the data that was being saved in localstorage.. someone knows…
-
0
votes0
answers9
viewshow to chain asynchronous actions with Redux thunk
I am trying to make two actions, being addToFavorite and removeToFavorite, be updated immediately upon hearing the click of a button, updating the "Favoritar" button to "Remove from favorites" or…
-
0
votes0
answers46
viewsHow to choose only a few items from a . map
I’m making an app similar to facebook, all posts are on a . map: {datapost !== undefined && datapost.map(item => { return ( <div className="publicacao"> <div…
-
-1
votes1
answer2227
viewsGraphics Component for React Native?
Hello I am new in developing with React Native, there is some good graphic component for the platform?
-
-1
votes1
answer221
viewsRedux Saga function is not being called
I’m having a problem with Redux Saga. The request is coming in the action and the Return but does not go through Saga. I’m starting in Saga so I can’t identify what the problem is Action: export…
-
-1
votes1
answer168
viewsError trying to log in with React and Redux Saga
I am trying to make a request to pick up session in an API, it is with the Oauth2 system, where I have to send a form-urlencoded with some data and it returns me a token. But I can not do the…
-
-1
votes1
answer22
viewsNGRX - Store variable returning Undefined
I have a problem when I try to give Dispatch in a state and try to sign up for Oninit in my application. Module Users: import { StoreModule } from '@ngrx/store'; import { NgModule } from…
-
-1
votes1
answer172
viewsMy useSelector variable is printing Undefined even when Reducer has returned the value
I have this saga that performs an http request and performs a Dispatch on my Reducer: // worker Saga: will be fired on GET_FILIAIS_REQUEST actions function* fetchFiliais(action) { try { const data =…
-
-1
votes1
answer187
viewsCache Redux Store state
Hello, I’m new to the whole issue of React and Redux so I wanted a little help. I made a simple code: home js. import { connect } from 'react-redux'; import { bindActionCreators } from 'redux'…
-
-1
votes0
answers16
viewsTaking a props of a component as a global variable
I’m starting at React-Redux and would like to pick up a props of a component as my Reducer value I will demonstrate my code : product import { createSlice } from '@reduxjs/toolkit' export const…
-
-1
votes0
answers12
viewsHow to use Redirect in my React application
I’m making an application in React, I’m using the Redux and the saga Redux. I am protecting the routes, but when I do the redirect does not take me to the main page of my appeal. That’s the code of…
-
-2
votes1
answer107
viewsReact and Redux - update status with button
I have a button on my app that opens a Modal. I’m implementing Redux in the application, and now I’m not knowing how to make the button work again. I’m using a fixed state while still learning to…
-
-2
votes1
answer420
viewsClear field after Submit with Redux and Redux-form
Talk, guys, after catching a lot and having nowhere else to go, I came to ask for your help. My scenario is I’m with a form where the fields are the Fields of the Redux-Forms. I need, after Submit,…
-
-2
votes1
answer23
viewsLive search using React-Redux
Hello, I’m trying to create a live search with Redux, but it only gives the match with the full word. What is the best method to actually return to my table, in this case only the values that the…