Stop, don’t use ActivatedRoute anymore to get your route data!

https://medium.com/@tomoriDev/stop-dont-use-activatedroute-anymore-to-get-your-route-data-aeef01f68543

Never heard and never used this feature of Angular v16.

3 points · 2 comments · view on lemmy.world

2 Comments

dis_honestfamiliar@lemmy.world · 2 pts · 2y (1 reply)

Normally frontend is is just frontend sending requests to the backend and displaying results. But last month I wanted to use a standalone frontend app which could take input as parametrized URL. It was a little challenging. This new feature seems a better way of doing it. But again, frontend is usually just there to display results from the backend.

Lmaydev@programming.dev · 4 pts · 2y

I think that's a slightly outdated view of the front-end tbh.

SPAs and PWAs are becoming a lot more popular and don't require a backend to have fully functional sites.

PWAs don't even need a connection.

Obviously many websites are useless without a backend. But things like text editors or painting apps don't need the frontend.

And with wasm gaining more use you can use a lot more languages and more easily create very complex apps.