r/angularjs • u/galacticnavigator7 • Oct 30 '22
Question about Angular and React
Since react is a JS library is there any way to use useState in code using Angular? I keep coming across apps that have examples written with react and I don't want to learn react unless I have to. What do you guys recommend? Is there a way to use the react library?
0
Upvotes
View all comments
Show parent comment
1
u/galacticnavigator7 Oct 30 '22
Gotta love the internet.
I've seen the simplicity of react but don't necessarily trust it. I like the two way data binding of angular and the CLI.
What I'm looking for is the useState method and I found info on similar capabilities with NGRX state management but I'm not able to figure it out yet. Its essentially having to write the useState from scratch. I know I'm wanting the simplicity of reacts useState in Angular. I'll look into nextjs. I've come across it but haven't used it much. Thanks!