menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

React

A community of developers, designers and others who love React.js. ⚛️

Channels
Team
Posts
Members
Info

React doesnt work on folders within domains?

Heeeeeydiho i build a react app, and have a small problem with it problem: putting it in www.xxx.com works perfectly, but putting it on www.xxx.com/test/ only gives out a blank page. …

message-simple
2

Render Component after getData

I am searching for a solution to render my component after my data is fetched. The Problem with useEffect ist that it renders after the initital render. That creates two empty object in my DOM. That is quite the problem, since I want to style these. Funny enough conditional…

message-simple
0

Problem with multiple return statements

I want to return a <h2> before keys.map gets returned. I already tried to add it with return (<h2>{item.title}....but this leaves everything below unreachable. Also tried different variations of {} and () but it didn't worked. Also thought of excluding the keys.map and make it a…

message-simple
4

Looking for resources to delete a functional component from the DOM

not just hide it

message-simple
4
·31d# Help

react routing

I want to create http://john.wethemez.com/ this website-style routing in react. how can i create it?

message-simple
9

delete a state in an array

hello I implement the addition of two types of links : video (from Vimeo) …

message-simple
2

Cannot read property '_' of undefined

Hey, I'm new here and I'm having a big problem with react. I posted about it on stack-overflow so before explaining here everything again I will let the link…

message-simple
1

Need help with iterating through objects

I had to refector my Database in Firestore and the basic structure is collection(meals) => documents(fast food, salads etc.) => specificMeal(map(description, price etc.) With: the console log is: …

message-simple
3
·33d·Locked# Help

Need Help with my react App

So I have the code shown below. Everything is working, but the everything inside the map function is not working. It doesn't get rendered and I don't know why. I am using webbpack5 with the runtime plugin and coresj v3. So it should work. Could someone help me please? Thanks in…

message-simple
6

Anyone here that can help ? Codesandbox inside

:)

message-simple
35