So let’s say the code base leaks.
Let’s say our VPN was also compromised.
Then what is the worst that can happen? Some internal dev api with no real data in it can be tested by hackers.
So let’s say the code base leaks.
Let’s say our VPN was also compromised.
Then what is the worst that can happen? Some internal dev api with no real data in it can be tested by hackers.
No. For development purposes I want my devs to be able to clone the repo and start.
So the development config files are inside the repositories.
For local development you would definitely keep them in a config file. Nothing wrong with that.
For production they are set during the release process.
Nothing is more expensive than developers needing to find all the configs and keys to just start up a project to make a small fix somewhere.
Just to add: they should not be chained, but they should run in parallel.
You can configure nextjs to compile as only client-side-rendering, so that it runs like before!
Another thing: NextJS is not only SSR. It’s hybrid. The advantage here is that it decreases the visible first load time.
First load pre-rendered HTML and styling is sent to the browser. So the page is already fully visible. After that all scripts and secondary CSS will be loaded. And even after that the bindings will be done.
Where as with pure CSR, all JavaScripts need to be loaded and executed and only then stuff will become visible to the user
The main reason is to be on the users Home Screen, just one tap away from being on the app. Also, push notifications, pulling people back into the app.
Also there is a security benefit. Phones are protected quite well, so it is safer to keep a user signed on the device and maybe only a PIN or biometrics in front of the app to open it. The apps run in an isolated space, making it even safer.
Lastly there can be a performance benefit. Websites are written in HTML, CSS and JavaScript which is compiled on demand, while apps can be written in languages which are pre-compiled.
This may be true for the Reddit app, but it’s definitely not true for most other apps. Tracking and selling data does not get easier with apps.
The main reason is to be on the users Home Screen, just one tap away from being on the app. Also, push notifications, pulling people back into the app.
Also there is a security benefit. Phones are protected quite well, so it is safer to keep a user signed on the device and maybe only a PIN or biometrics in front of the app to open it. The apps run in an isolated space, making it even safer.
Lastly there can be a performance benefit. Websites are written in HTML, CSS and JavaScript which is compiled on demand, while apps can be written in languages which are pre-compiled.
Basically the whole movie Sausage Party. Great movie that is also fun for adults