What is SPA (Single page application) in angular Basic interview question?
Jun 5, 2023
SPA( Single page application) is web app which does not reload whole page(or request new server page) every time user navigation or expand data or press button. instead of it partially update the part of page.
Some it need ajax request some time not but never release whole page.
Simple example are using hash id anchor tag approach or using javascript.
Technology :
JS Framework
Angular
React
VueJs
ember JS
nextjs
knockout JS
meteorJS
backboneJs
svelet JS and more….
Pros.
- Faster
- Lesser server request
- Cross platform ( single backend can work for multiple platform like mobile(IOS and Android and other )
- Easy to debug
- Simplified development
- caching
Cons.
- Less secure
- SEO is not easy
- No Browser history
- memory can make Slow web
- initial load time is more
Industries Products
- gmail
- google maps
- github
- indian railway