reactstrap tooltip dynamic id

I am developing a react application and using reactstrap. I am using Tooltip Component of reactstrap which requires a target attribute, a value of target element's id. This id is being geneated...

Using .map() helper with bootstrap <Col sm="4" /> layout in React

I'm using also ReduxLazyScroll for infinite scroll effect and it worked but before it was just ul -> li list. Now I want my app to generate 3 cards one beside another in bootstrap-grid style, like...

Missing in props validation

Im using a linter for this code. import React, { Component } from 'react'; import { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap'; import PropTypes from 'prop-types'; export...

Initial positioning of grid-items in react-grid-layout is randomly generated

Here is the code which I am using for generating react-grid-layout. What I am trying to achieve here is a dynamic dashboard which is configurable and can be resized and dragged as well. On initial...

Making whole card clickable in Reactstrap

I'm trying to create a card that, when clicked, performs an action. I've managed to make this work by adding a button to the card, which is bound to an event handler, and works as expected. I'm...

npm install from github: Module not found: Can't resolve 'react-big-calendar'

I had to make some changes on react-big-calendar module so I forked the project on github, made modifications and pushed. Then I used this command to install the new package: npm install...

img not displaying in reactstrap carousel

Trying to get images to display in the slides in Carousel using a tag and classname. I have images saved in the same folder as the Slider.js file. I have changed the default id property in the...

How to position tooltip on the top of a barchart in rechart?

Problem: I have created a bar chart with a custom tooltip. Now What I need is to position tooltip on top of the bar not within the area of the chart. Like in this picture. This is how It looks...

Why In Barchart is not showing Yaxis and also not showing all the labels for Xaxis in recharts?

Problem: I have created a bar chart using recharts. Here I am providing my code. import React, { Component, PureComponent } from "react"; import { bindActionCreators } from "redux"; import {...

Warning: validateDOMNesting(...): <a> cannot appear as a descendant of <a>

I'm trying to use react-router with reactstrap in a create-reat-app .In the routing page i needed to use state for the reactstrap so i converted the router from a variable to a class.I get this...

Refs are always null inside modal component

All refs created inside the reactstrap modal component are null inside compoenentDIDMount no matter how they are created This is related to react-dom version 16.8.6. I have tried assigning ref...

React-Select search input -Turkish lowercase "i" character does not work to get results (words) starting with "İ"

In my app, I'm using react-select component for selecting city functionality. Component renders Turkish Cities. So, some city names start with Turkish character "Ä°-i". everything works good.But...

React react-data-table-component Add Event in Row Button

data-table-component and added button on first column but when i am clicking button i am not able to get row value. here is my code. import Page from 'components/Page'; import React from...

TypeError: react__WEBPACK_IMPORTED_MODULE_2___default(...) is not a function. How do I solve this?

I was using React when I got the following error. TypeError: react__WEBPACK_IMPORTED_MODULE_2___default(...) is not a function How do I solve this? I have added the code below. import React from...

Is it possible to use react-datepicker with react hooks forms?

Is it possible to use react-datepicker with react hooks forms? I tried following sample: https://codesandbox.io/s/awesome-shape-j0747?fontsize=14&hidenavigation=1&theme=dark But with no...

Unable to use useState in class component React.js

I am trying to create constants in react as follows: const [firstFocus, setFirstFocus] = React.useState(false); const [lastFocus, setLastFocus] = React.useState(false); The constants are being...

This type of error comes:- Cannot find module 'sharp'

Error: Cannot find module 'sharp' Require stack: - D:\Marketing\sbj-react\suburban\node_modules\gatsby-plugin-manifest\safe-sharp.js -...

How to make create-react-app use npm instead of yarn?

I kind of rushed into creating a React app based on a tutorial that used yarn. Now I'm going to re-create the app from scratch because I'm not satisfied with the reactstrap library, and I'd like...

how to use Table pagination material-ui react js

Hi I use react js and I'm new. I want to use Table pagination material-ui for a table that does not belong to material-ui.For example, I want 2 row per page.I use the reactStrap table. If...

"npm run build" = "react-scripts: Permission denied"

I'm trying to deploy my working Windows 10 Spring-Boot/React app on Ubuntu 18.04 but keep getting "react-scripts: Permission denied" error despite numerous attempts to fix. Hopefully one of you...

Warnings with using modals from reactstrap

I have some warnings: Warning: Legacy context API has been detected within a strict-mode tree. The old API will be supported in all 16.x releases, but applications using it should migrate to the...

Reactstrap - How do I render the spinner properly within a button?

I'm trying to achieve something like this using a button and spinners in Reactstrap <Button color="primary" disabled> Loading<Spinner style={{ width: '0.5rem', height: '0.5rem' }} type="grow"...

How to extend React DatePicker pop-up once it's triggered to show?

There is an annoying problem when I try to implement DatePicker form input in my simple frontend project. I've a page that displays a user form based on this code: import React, { Component } from...

React.js -- Bootstrap / Reactstrap -- z-index does not work on Carousel

I want my fixed navbar that stays on the top of the page to display over everything as I scroll down through the page, but when I scroll down the Carousel ends up on top of the navbar. I have...

Warning: Legacy context API has been detected within a strict-mode tree

The old API will be supported in all 16.x releases, but applications using it should migrate to the new version. Please update the following components: Transition. when I tried to use react....

Typescript, React, strongly typing useHistory

I am sending my useHistory (react-router-dom) variable as a parameter to the employeee.service in which I use the "history.push" method with a state and a pathname. unfortunetaly I cannot seem to...

Amplify S3 Image - 404 Not Found

I am trying to access an image that I have uploaded to my S3 bucket. I created my bucket using the Amplify CLI (amplify add storage) and granted access to all of my cognito groups. I have also...

How can I use Bootstrap 5 with Next.js?

After installing bootstrap with npm install bootstrap I added the style to /pages/_app.js like so: import 'bootstrap/dist/css/bootstrap.css'; export default function App({ Component, pageProps })...

React Hook Form and Input type file

I'm trying to use an input type file with a React Hook Form. import { Controller, useForm } from "react-hook-form"; import { Button, Form, FormText, Label, Input, } from...

can't npm install the project

I have this project and I try to npm i this is my package.json { "name": "gogo-react", "version": "4.2.3", "description": "Gogo - React Bootstrap 4 Admin Dashboard Template", "private":...