python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
React router does not show the homepage and all other pages
I have this code and it does not display the homepage, that is the page that comes at '/'. But if I insert the <home /> tag after the <navbar /> tag, the homepage comes.
import "./App...

Johann
Votes: 0
Answers: 1
react js datatables net, can't add custom html element to datatable columns
I'm using SYMFONY + API PLATFORM + REACT JS.
I'm getting data from api inside my React Component :
useEffect(() => {
document.title = "IIG | Écran d'accueil";
asyncSecureGetHel...

Khaled Boussoffara
Votes: 0
Answers: 2
Using if statements in JSX
I am making a mobile app, I have a list of dictionaries like
var userMessagesSent = [
{sentBy: "user", content: "Hello universe"},
{sentBy: "user", co...
Araf
Votes: 0
Answers: 1
How to break line in JSX from javascript string
I have string that I use in JSX
const text = 'Hello World';
and JSX:
<p>{text}</p>
How to start new line from World ?
I want result:
Hello
World
Lasha Markhvaidze
Votes: 0
Answers: 2