Just for fun...

ilan

Expert
Licensed User
Longtime User
I browsed through the Internet for an hour but never find a good explanation about what and why to use Redux.
actually, i dont like React very much. but from what i read about Redux is it is used in react as state management tool. but i am not sure why you wanna use it. react has its own solution for state handling.

btw if you want to learn anything about JS,CSS,HTML,REACTJS,... then you really should follow this guy:


i have learned a lot from him!
 

aeric

Expert
Licensed User
Longtime User
I purchased a template which uses React and Redux. I am not familiar with React but I want to integrate it with Laravel.
 

ilan

Expert
Licensed User
Longtime User
I purchased a template which uses React and Redux.
this is a problem. it is always hard to start from a template that uses many frameworks and try to make it suite your needs.
i have used react but didnot use Redux. the question is, do you really need redux? try to understand when it is used in your template and how you can replace is with reactJS only. it will be easier to work with react only then with many third party libs implemented in react.

if it is handling the states in react then try to switch to react state handling.
can i ask what template you are using?
 

ilan

Expert
Licensed User
Longtime User
isomorphic

The mistake I made is to follow the frontend developer's to use this template.
yes i understand what you mean. i am working on a dashboard webapp using b4j and i use a LOT inline JS in it and i can tell you that it is good enough for backend and frontend. if you search the forum you will find a thread me talking about it. i had the dilemma to make this project using NodeJS for the backend and ReactJS for the front end or use b4j for both. i decided to go with b4j and i dont regret it. i was afraid that if i will not use js i will forget it but because i have to use a lot js inside the project and also html, css i am happy. i use a similar technique as EJS i can make a video if you like and show you my progress
 

aeric

Expert
Licensed User
Longtime User
Since I have decided to use those technologies, I have to continue using them. Until one day I have developed more "plugins" with B4J for the web, I have to rely on this mainstream technology for now.
 

josejad

Expert
Licensed User
Longtime User
Cookies are required to use this site. You must accept them to continue using the site. Learn more…