menu

React

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

Channels
Team
Posts
Chat
Members
Info
down-caret

problem!!!!

Invalid attempt to spread non-iterable instance this error occured when i fetch api

thumbsup
0
message-simple
9

Get current element of Component using Hooks

Hello, I am new to the React Hooks thing and ask myself now how to get the current element. Want to get the position values. But in the first rendering ref.current is undefined. Before hooks would create the ref in the constructor but now I dont have one. …

thumbsup
0
message-simple
2

Help with Didact

Hi I am reading this and it was awesome so far. But I am stuck understanding what is going on here. Cheers!

thumbsup
0
message-simple
2

Anyone had build login page with typescript with redux i need help ,plz help me

thumbsup
0
message-simple
1

I have to change static /js/css path after - npm run build

I build a react app using CRA. In deployment, we have different static servers to maintain js/css files. So I have to change static URLs after the build(npm run build). For example, in .env.staging I set, …

thumbsup
0
message-simple
1

How to initialize analytics code once and use later

What is the best way to initialize analytics like google analytics, branchio, fb Analytics, countly

thumbsup
0
message-simple
1

Should I learn Vanilla Javascript First?

Dancing between vue and react I realized my fundamentals were off and my progress irregular, this feeling made me think about starting over HTML, CSS and javascript, its gonna take longer but I feel is the right call. Am I taking the right approach? Should I master vanilla…

thumbsup
1
message-simple
4

Modular or atomic folder structure

Hey, anyone here already tried to organize their react project folder structure in a atomic or modular way? if so, can you share an example or a github repo with it implemented? thank you

thumbsup
0
message-simple
3

Redux / useReducer "mutation"

Normally when writing a case I do: Obviously this can get very verbose as the state grows. I was wondering if there are any potentials with rewriting it as "mutation" vs the verbose new object creation way as so:

thumbsup
0
message-simple
5

Best way to build a full react ecommerce app?

Hi, guys. What's the best way, efficient, (fast?) to build a full react ecommerce app at the moment?

thumbsup
0
message-simple
6