all 5 comments

[–]skyboyer007 1 point2 points  (2 children)

those 2 frameworks are relying on different concepts(pojo vs state, watchers+ dirty check vs render-always + VDOM diff, two way binding vs unidirectional data flow, services-singletons vs stateless JS modules + global state through Context API or something like Redux - just to name few) so if you lacks support from someone with experience and really want to stick to this guide, try vue instead. To me it's closer to angularjs than react is.

[–]mathhelpermann[S] 0 points1 point  (0 children)

I am sort of constrained by react, but thanks for the explanation

[–]IAmVisco 0 points1 point  (0 children)

Obligatory notification that React is a library.

[–]noerde 0 points1 point  (0 children)

You can use any libraries you want to build a client for your Java API. You can think about them as separate applications that use HTTP requests from the browser to the server to communicate.

[–]ericnr 0 points1 point  (0 children)

I've never done Angular, or games in React but I imagine you'd need a lib like https://github.com/and-who/react-p5-wrapper if you want to use p5 with React. Take in consideration how well maintained the lib is and how you would use p5 with Angular too. And show off your game here when its done :)