Browse latst posts in ReactJS Category
yup package Issue When a custom method added to yup instance using the addMethod function, It produces the error below TS2339: Property 'title' does not exist on type 'typeof import("node_modules...
I am new to reactjs, and I am trying to create a reactjs app, and I follow the steps on react web, and it shows error. My node version is v8.11.1.npx version is 9.7.1. btw I can create the app with n...
I'm trying to render certain inputs if a variable is true but when the component render displays the warning Warning: Failed prop type: Invalid prop `children` supplied to `ForwardRef(Select)`, expect...
Trying to create an xterm react component in Next.js I got stuck as I'm not able to get over an error message I've never got before. I'm trying to import a npm client-side module called xterm, but if...
I am currently setting up a boilerplate with React, Typescript, styled components, webpack etc. and I am getting an error when trying to run eslint: Error: Must use import to load ES Module Here is...
My context looks like this: class AuthStoreClass { authUser = null constructor() { makeAutoObservable(this) } login = async (params) => { const { data: { data: aut...
Haven't been able to find anything around here regarding this error: "Store does not have a valid reducer. Make sure the argument passed to combineReducers is an object whose values are reducers."...
Is it possible to call a python script to run server-side by Next.js? I am trying to set up a way to call some python packages I have already developed to be run on my website that is built via React....
I'm new in React world, I'm struggling to prevent extra rerender of child stateless component, but no luck here is my code import React, { useEffect, useState } from "react"; import Lab from...
Not sure if this is a Kubernetes, ingress-nginx, or ReactJS (create-react-app) issue... Project Structure new-app/ client/ src/ App.js index.js Test.js package.json k8s...
I have a component wrapper in antd Form.create() HOC where I want to implement validation for my react-quill editor. <Form.Item> {getFieldDecorator('input', {...
I want to define the interface the proper way but I am having trouble because it is expecting an argument even though the argument is empty. I am using useContext and I defined the interface like thi...
Hope your all are doing fine. Im using Typescript with RTK mutation everything is working good but if i send any error from backend in specific json format like { status: "Error", mes...
How to get the first and last visible date in React Big Calendar? This will facilitate database queries to view events. I'm trying to call the onNavigate () function and get start and end using the mo...
When using the Select from Material-UI, there's a prop there called 'autoWidth' which sets the width of the popover to match the width of the items inside the menu. Is there a similar option for the A...
I have created a react app and trying to run it over the docker container with volumes (mapping content inside the container with outside files), everything was working fine earlier but now facing an...
How to downgrade react-router-dom version to v5.2.0
What's the different between useEffect when you pass it dependencies as the second parameter and useCallback? Don't both essentially run the function/code passed as the first parameter whenever the de...
I'm following a tutrotial and all off a sudden i'm getting this error . I've tried all solution and reinstall module. but in other class the same code work this is my code import fileSaver from 'file-...
I found that when i'm using useController hook for handling my form, my inputs doesn't have 'type' property. I think that is bad for semantic rules. I would like extend existing interface for properti...