Message from JavaScript discussions
May 2017
— Or obfuscate it using JSFuck
Or, not use any JS in the browser at all except for DOM mutations, and run all your business logic on the server, using that same socket to just exchange arbitrary data
— Https://en.wikipedia.org/wiki/Distributed_object_communication
— JSFuck is super easy to reverse
— This is doable
— Preferable in many situatons, a side effect is it hides your business logic
— Well, reactive components are fun too
— Because you can unpack in memory directly, nothing will appear to the user or developer even, unless they go into the debugger and manually run through your source step by step until they are able to expose critical variables or functions
— At that point, like any program, it can be put under dynamic analysis, so there is no *perfect* way unless you encapsulate/abstract 100% of your API's as to not expose implementation details
— After you do that, it's the same as running PHP on the server
— Visibility-wise
— Or if you don't care about refreshes, you could port all of it to node, as react can run on the server easily