Skip to main content

All Questions

1 vote
0 answers
52 views

Getting warnings for OverlayTrigger in Reactjs

Warning for Overlay Trigger I have used OverlayTrigger component of react-bootstrap, it gives warning as shown in the image above. Code: <OverlayTrigger delay={{ show: 250, hide: 400 }} overlay={&...
Shaan Srivastava's user avatar
1 vote
1 answer
3k views

Problem with React-Bootstrap/InputGroup caused by <InputGroup.Prepend>

I have been encountering a problem that I didn't have before. Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ...
Arian Alikashani's user avatar
0 votes
1 answer
36 views

Homescreen.js not displaying in localhost/home needed output in browser

I'm having problems with displaying the rooms of my hotel reservation website. I cant find the solution. Please help me. I've spent 3 hours trying to find solutions My Homescreen.js import React ,{...
cirzed's user avatar
  • 15
1 vote
0 answers
34 views

How to make this form take full space on mobile

I am using react-bootstrap to make my portfolio website and i want to add the newsletter component and it look good on desktop but i can't seem to make it take the whole row on mobile <Col lg={12}&...
Fahad Asad's user avatar
-1 votes
1 answer
116 views

ERESOLVE could not resolve

When I tried installing bootstrap these errors came how to resolve these?
Atharav Singh's user avatar
0 votes
2 answers
870 views

How to use a bootstrap load spinner while fetching data from an external api?

While fetching information from a url takes a long time, how can I utilize the bootstrap load spinner to hide the delay and make the website looks more interactive?
Myisha Tun Samiha's user avatar
-2 votes
2 answers
1k views

Nextjs react-bootstrap onSubmit doesn't work

Details I want to make a form for a register page, after entering the form and hitting submit, the react-bootstrap button will call handleSubmit() using onSubmit={}. Expected and actual result I tried ...
Chen Chang's user avatar
1 vote
1 answer
390 views

I am displaying dynamic data on this React Boostrap Slider. Is there a way to make the code more efficient?

this is my first post here. I am building a React Boostrap Carousel that pulls Movie data from the database and displays it. I am new to React and programming in general. So far i made the code work. ...
john's user avatar
  • 63
3 votes
1 answer
11k views

I am getting the error "Cannot use import statement outside a module" when I run my React Razzle app

Razzle is a server side rendering framework. Here is the error: /home/ajay/Ajay Nagotha/Projects/react-ssr-demo/luma-ssr/node_modules/react-bootstrap/esm/Container.js:1 import classNames from '...
Ajay Nagotha's user avatar
0 votes
0 answers
94 views

React wont run more than one tag inside <div className="App">. React error #321

I have been trying to make a button using react-bootstrap. However, I cannot render it when deploying the server. This is the App.js import "./App.css"; import Search from "./pages/...
Henrich's user avatar
  • 11
1 vote
2 answers
866 views

How can i solve this issue ? TypeError: Cannot read properties of undefined (reading 'map') in react.js

Hierarchy Structure Picture : https://prnt.sc/1y2ply6 notes.js(file) : const notes = [ { _id: "1", title: "Day 1 of college", content: "I made a ...
SKD's user avatar
  • 61
1 vote
1 answer
2k views

How to send data from Modal, Form using react and bootstrap?

I am working with React to POST data in my local database. When I use just the <form>, it works fine. But whenever I am trying to use Modal and Bootstrap, it is giving me an error. I understand ...
Arif Hossain's user avatar
0 votes
1 answer
2k views

how to create a a bootstrap Carousel with dynamic image source

i want to make a product detail page with image slider containing all images of a product , i have read the directory and got all images of a product now the slider is not moving and only showing ...
nodeDev's user avatar
  • 131
12 votes
6 answers
21k views

Attempted import error: 'Jumbotron is not exported from 'react-bootstrap' (imported as 'Jumbo')

I'm getting started learning React and trying to create a Jumbotron element from react-bootstrap. I'm pretty sure I've installed all the correct modules with npm install react-bootstrap bootstrap, but ...
yugtah's user avatar
  • 131
1 vote
0 answers
78 views

How to set up a react app to work with carousel without fading images the image

import React from 'react'; import { Carousel } from 'react-bootstrap'; import "./HomePage.css"; import img1 from '../../img/car_polising.jpg'; import img2 from '../../img/polishing-light.jpg'...
Perionica Vasic Lesnica's user avatar

15 30 50 per page
X