I'm Using react-bootstrap-table-next pagination module, In that I am using sizeperpage How do I pass sizeperpage data to the params. code excuted: <Bootstra
I am working on a MERN ecommerce stack application. I have an API that returns all the Products I have from my MongoDB. I have attached a console log of the pro
I want to make a ScrollView that uses data that it async fetches from my backend. But for the moment when I try to render the subject, or even log the subjects,
I am fetching data in my react component import React, { useState, useEffect } from 'react'; import { fetchBookData } from './bookData'; import "./App.css"; ex
I have assigned type React.FC to my component but I still dont't have access to the children props. I get this error "Property 'children' does not exist on type
I'm new to NextJS, and trying to figure out, how to create a global variable that I could assign a different value anytime. Could someone give a simple example?
I am wondering two cases, which is better for writing? case 1 import * as React from 'react'; const TestComponent:React.FC = () => { const [count, setC
I created a Google Cloud Platform account, and made a simple hello_world type Python "Cloud Function" that just spits out some simple text. I made this function
useEffect(() => { const fetchData = async () => { await fetchEventSource(`/weborders/${agentId}/web_stream`, { method
I'm having a hard time to create a react library that supports translations. Let's say I have this structure components |- Button1 |- Button1.tsx |- ind
this is my code for the drawing const drawLines = () => { const points = [[-89.8802, 32.5804], [44.419834, -97.568073]]; const featureLine = new F
Here is my code: import React, {useState, useRef, useEffect} from 'react'; import { getAuth, onAuthStateChanged } from 'firebase/auth'; import { useNavigate } f
I have this kind of object where I want to change the Ethereum value for example; const [reportData, setReportData] = useState({ nameOrganization: "test5",
When I try to implement a secure login system in React application with firebase using JSON Web Token (JWT) I am getting this error: Acces to XMLHttpRequest at
I am getting this error while running the below code import React from 'react'; import { Link } from 'react-router-dom'; const DanimProduct = () => { re
I'm looking for a canonical reference to how this has been dealt with. If I have a component that looks like this: const MyComponent = ({ value = [] }) => {
I want to take out the function and state globally, because the function and state use the global header. But how can my MainPage page get this data? I know tha
Started using React-Bootstrap today and I want to make a collapsable card. Using Collapse component but it's not working. Any tips? My code: import { RiArrowDow
I am currently building a clothing shop in which you can add products to the cart, and delete each one of them as you like and it makes the cart re-render and d
I'm asking for a suggest on how to type correctly the schema for how an EventObject should be, including what's inside the "extendedProps" key. As of now I've d