Geethika
RReactiflux
•Created by Geethika on 6/13/2023 in #react-forum
I have JSON response as below
Thanks for pointing it out!
5 replies
RReactiflux
•Created by Geethika on 6/13/2023 in #react-forum
I have JSON response as below
I have ,
const aboutInfo = JSON.stringify(brand.attributes.about)
const aboutUs = JSON.parse(aboutInfo)
and <ul>
{aboutUs.split("\n").map((abu)=>{
<li>
{abu}
</li>
})}
</ul>
but doesn't seem to work5 replies
RReactiflux
•Created by Geethika on 5/27/2023 in #react-forum
Hamburger menu items not displaying one below the other
Was able to resolve the problem by modifying code. Removed the second component from the unordered list and put it in a div. And also, moved <Navbar.Toggle aria-controls="navbar-main-menu"
onClick={() => setCollapsed(!collapsed)} />
<Navbar.Collapse id="navbar-main-menu ">
anove the div I put the second unordered list content in,
9 replies
RReactiflux
•Created by Geethika on 5/27/2023 in #react-forum
Hamburger menu items not displaying one below the other
@Bao Huynh please check
9 replies
RReactiflux
•Created by Geethika on 5/27/2023 in #react-forum
Hamburger menu items not displaying one below the other
9 replies
RReactiflux
•Created by Geethika on 5/27/2023 in #react-forum
Hamburger menu items not displaying one below the other
9 replies
RReactiflux
•Created by Geethika on 5/27/2023 in #react-forum
Hamburger menu items not displaying one below the other
Thanks for your reply. Is a screenshot of how the menu appears on small screens ok?
9 replies
RReactiflux
•Created by Geethika on 5/12/2023 in #react-forum
Need ideas on implementation based on concept of routing and storing
I was able to implement the first scenario. I used query params in the Next.js Link component to perform following actions : Click on add a listing button -> Login / register -> After successful login -> Go to page where listing data is collected.
3 replies
RReactiflux
•Created by Geethika on 5/7/2023 in #react-forum
Server ErrorError: Element type is invalid: expected a string (for built-in components)...
" react-bootstrap doesn't have a default export, so the default import syntax (import ReactBootstrap from 'react-bootstrap') cannot be used in this case. You can do the following though:
import * as ReactBootstrap from 'react-bootstrap';
<ReactBootstrap.Button bsStyle="success" bsSize="small">
Something
</ReactBootstrap.Button> "
13 replies
RReactiflux
•Created by Geethika on 5/7/2023 in #react-forum
Server ErrorError: Element type is invalid: expected a string (for built-in components)...
So I found the soln. to the problem from : https://stackoverflow.com/questions/39047130/react-bootstrap-importing-modules .
13 replies
RReactiflux
•Created by Geethika on 5/7/2023 in #react-forum
Server ErrorError: Element type is invalid: expected a string (for built-in components)...
okay, I will check n update
13 replies
RReactiflux
•Created by Geethika on 5/7/2023 in #react-forum
Server ErrorError: Element type is invalid: expected a string (for built-in components)...
you can tell me if u need to see any additional code
13 replies
RReactiflux
•Created by Geethika on 5/7/2023 in #react-forum
Server ErrorError: Element type is invalid: expected a string (for built-in components)...
actually that's not possible
13 replies
RReactiflux
•Created by Geethika on 5/7/2023 in #react-forum
Server ErrorError: Element type is invalid: expected a string (for built-in components)...
I think we can rule out the first option
13 replies
RReactiflux
•Created by Geethika on 5/7/2023 in #react-forum
Server ErrorError: Element type is invalid: expected a string (for built-in components)...
Please check
13 replies
RReactiflux
•Created by Geethika on 5/7/2023 in #react-forum
Server ErrorError: Element type is invalid: expected a string (for built-in components)...
I have formatted the code
13 replies