Skip to main content

All Questions

0 votes
1 answer
27 views

Cant't find a path for the image React styled components

I cant't find a path for the image React styled components. The path is correct I think, could it be the styled-components issue ? https://codesandbox.io/s/soirees-ll0ehp?file=/src/App.js:120-698 ...
user avatar
5 votes
2 answers
3k views

Property 'component' does not exist reactjs + materialUI + typescript?

I am creating custom typography. But while using I am getting below error. I am following below document https://mui.com/material-ui/api/typography/ here is my code https://codesandbox.io/s/fragrant-...
user944513's user avatar
  • 12.8k
1 vote
0 answers
618 views

Re render component after fetching searched data in Material UI autocomplete

I'm using Material UI Autocomplete to get searched data, it works fine, but it's re-render after the search runs and clears the value without focus, then we have to click again to get fetched value. ...
nekromenzer's user avatar
0 votes
0 answers
859 views

How to debounce the redux dispatch, but not the useState componenet update?

I have a simple slider component from Material-UI v4, mostly taken from this example. I want to update the UI, both the slider and the number (which is displayed in the UI) 'instantly', but debounce ...
AncientSwordRage's user avatar
1 vote
0 answers
2k views

MUI textfield with min-max inputProps not updating when using value from state

I am using a mui textfield and it works fine when I use it without hooking it upto the state but once I hook it to the state, the <TextField size="small" type="number&...
Faraz Nisar's user avatar
6 votes
2 answers
172 views

How to change state with MUI Texfield & Redux

I have an input field where I am trying to pass some information before moving onto a separate page. My problem is the Redux state is not changing, but the console is showing the value is being passed ...
Samuel Lawrence's user avatar
1 vote
1 answer
889 views

Dispatch action in useEffect's cleanup function

I have a form component in a Material UI <Tab /> which allows users to update their address info. The information is fetched from the API via redux-thunk and the form fields are filled with data ...
Nima Zarei's user avatar
  • 1,246
0 votes
1 answer
2k views

Theme.breakpoints is undefined in MUI React

Whenever I try to use theme.brekpoints.up , I always encounter the same error theme.breakpoints is undefined on console. version that I am using are "@emotion/react": "^11.9.0", &...
Prajwol Kshetry's user avatar
2 votes
2 answers
1k views

Shows random number enqueuesnackbar (notistack) in react js

I am using notistack package. need to show snackbar on the screen. while calling the Snack component which is using enquesnackbar it shows the snackbar but also show the random number on the screen. I ...
Shablcu's user avatar
  • 303
0 votes
1 answer
454 views

Is it possible to use React Material UI, redux and react-form-hook together?

I am exploring several online tutorials to learn how these technologies can be used together to build React TypeScript app. I have two specific questions: Is it possible to use these three ...
MsA's user avatar
  • 3,017
0 votes
2 answers
307 views

Handle Dark mode in Material UI redux

I have a React app with Material UI. The dark mode basically works, but anytime I try to change the dark mode state on a page where the page is rendered from redux state data, the whole page crashes. ...
Kristof Rado's user avatar
0 votes
0 answers
604 views

Redux state is updating but field and value doesn't update accordingly. Have an extra undefined field with index when EDIT.USER.VALUE is dispatched

I would like to update the state when I add multiple options in the field, so I dispatch a EDIT.USER.VALUE, it will keep tracking the changes. But it appear an undefined field instead of updating the ...
Lynn_lee21's user avatar
1 vote
0 answers
99 views

Having issues in react router & navigation

I have created a navigation drawer which goes something like this, const Minidrawer = props => { const itemsList = [ { text: "Home", icon: <HomeIcon />, ...
Saurabh's user avatar
  • 1,682
0 votes
1 answer
245 views

React Material Table : onRowAdd not refreshing

I am using Material Table for displaying table data. Using onRowAdd, I am able to add a new row but the page is not refershing. It reloads and get stuck then I have to reload it again. newData => ...
Raghav's user avatar
  • 67
0 votes
0 answers
55 views

Redux data not accessible inside a switch

I have data that comes from MongoDB and is stored in Redux. The data is about the visibility of the components on the page. The value can either be true or false and hence I have a switch to Toggle ...
Ayush Arora's user avatar

15 30 50 per page
1
2 3 4 5
9