Dear stack over flow community. I am building a react app using create react app where I will show a random joke fetched from an external API. Here is the co
Dear stack over flow community. I am building a react app using create react app where I will show a random joke fetched from an external API. Here is the co
To explain the situation. I have a child component that has one chevron that spins on a click. I need to implement from child to parent and to grand parent prop
I have a button with "Download" text on it defined in ReactJS code. Now, I want to write a unit test to check that this function is getting called when this but
Update This is happening because of hot-reloading comes with Creact React App. Related issues: https://github.com/expressjs/multer/issues/566 https://github.c
I am getting an issue with React-JSS. I have created a modal class for which the property of height depends on the prop passed to the component. In responsive d
I'm using graphql in React and Apollo:generate to create types from the graphql schema. I'm also using react-apollo-hooks useQuery to output the data. Everyth
I have an Material UI text field which is populated by a nested JSON object pulled from an API. Data can be displayed in either a TextField, a Date Picker, or a
Here is the authcontext import and code import {signInWithPopup, GoogleAuthProvider, createUserWithEmailAndPassword, getAuth, onAuthStateChanged, signInWithEmai
I have a problem. I'm currently making a component library for react, it works perfectly in storybook. But when I do a npm rollup, or install my package from np
I have been working on a React application that would connect to MongoDB Atlas with Mongoose. Using nodemon and webpack for hot reloading it would reconnect to
I havea a Chakra-UI Text component in a Next.js TypeScript web app. The noOfLines doesn't display right in Safari, but correct in Chrome. Any suggestions?
I know that some relevant questions exist but none of them really has an answer more than saying that it is not possible. What I would like to achieve is having
I try pass params as docs says here: https://nextjs.org/docs/routing/dynamic-routes but the received params are not string??!! How could it be string array? I u
I am trying to create a stateless component in React with the sole purpose of acting as a reusable wrapper. I am also using CSS Modules because I want to have f
Hello i am stuck with this one and couldnt figure it out. So i have React router v6 with basename - "/ui/" , and i want that when i open localhost:8080 that it
I have a simple component that takes a type argument on props. When used, it infers the prop type and contextually types a callback param. However, when I wrap
I have an unordered list element that looks like this: <ul className={styles["projects-pd-subdetails-list"]}> {detail.subdetails.map((sub) =&
Every time I try running npm start on a new project I keep on getting this error. Does anyone know or have any idea how to fix this?? There might be a problem
I'm using Enzyme's shallow method to test a component which uses the useParams hook to get an ID from the URL params. I'm trying to mock the useParams hook so