I'm new to React and am working on someone else's code (thrown in the deep end). There is a simple button has a handleClick() handler. I want to increment a sp
[index.js] import React from "react"; import ReactDOM from "react-dom"; import "./index.css"; import App from "./App"; import reportWebVitals from './reportWebV
How to do it like a Uber app? <View> <MapView onRegionChangeComplete={(e) => { setLocalLocation({ latitude:
Background I am trying to create a simple CRUD application using NextJS along with react-redux, so what it does is that it saves peoples contacts.So when adding
I have been using the following pattern to mock react-redux hooks in tests that use Enzyme shallow rendering: import * as redux from "react-readux"; ... jest.sp
I'm having an issue using Redux Toolkit. I want to push an object to my initial state called selectedData which is an array, this gives me the error "TypeError:
I wrote profile page I want to get profile datas from api but my dispatch not working, in getProfileDetails function dispatch not working. import {createSlice}
I have a next.js environment with tailwind installed and a simple draft.js Text Editor. In my Toolbar Component I toggle inline style and block styles. Everythi
By default the CodeBlock is styled with a white-ish background and black-ish color. This works fine with a "light" palette but is unreadable with a "dark" palet
I am trying to animate an animation in framer motion using Chakra-ui and Gatsby whereby there is rotation and movement and opacity change. At the moment the ani
I am using protector, selenium for running the UI automation. For chrome driver I am using webdriver-manager for testing the UI Automation. It run successfully,
I'm currently working in a design system library to test some things. Basically, the library is a Styled Component wrapper in order to create themes. I built th
I have a small table of data that is pre-filled by an api call on page load. Each row in the table has a facility name and an Enabled value which comes from the
I have a Next js app that have a contact form. I'm using Emailjs to send email to my gmail account. This works perfect in development, but once I deployed it st
i make system jsonwebtoken in reactjs and use nextjs. i find problem when i run the code in browser that is localStorage is not defined. this is my code in fil
I am trying to create a react-app that works with firebase. So, normally the credentials look like this: const firebaseConfig = { apiKey: ..., authDomai
I wanted to setup react with webpack, babel, and typescript myself since I would like to know more and have a consistent boilerplate for development. I have bee
I tried for getting the image path with Dropzone in this way {...form.getInputProps("tourImages")} but it gives undefined . Also, I tried getting an image inpu
I have a state variable where i am having the value, so on before unmounting i need to log this to some analytics. So when i access the state it shows me as und
I'm using tiptap as an editor in my react application, the problem is that I haven't found how to modify the font size inside my editor, I have searched for an