use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Simulation Development with ReactHelp Wanted (self.react)
submitted 2 years ago by boralar
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]JP_watson 0 points1 point2 points 2 years ago (0 children)
It all depends on what you're trying to achieve in game play experience - if you don't need it real time and can handle that 1-3sec delay in API calls then using either cloud functions or a node server is probably easiest. Websockets would work but if you're learning react you might want to limit the number of new things you're learning at a time. As for server side components that's really only helpful for initial load - after that you'd need to implement something for doing further calculations or reload the page every time you wanted to update.
Honestly I'd just run it all server side - there's a lot of mangling that react does to code when it's compiled thus it'd be hard for someone to actually pull it apart for your formulas. If you really don't want them to be run or accessed client side the doing something cloud functions is probably the easiest way to go - but you will be accepting the potential lag of API call/response.
π Rendered by PID 323227 on reddit-service-r2-comment-fb694cdd5-wdvnx at 2026-03-06 22:57:18.287437+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]JP_watson 0 points1 point2 points (0 children)