{# canonical_base is the OWNING tenant's origin: all 16 Peasy domains serve the same catalogue, so a page rendered by a non-owner points its canonical at the owner instead of competing with it. Falls back to this site for static/self-owned pages. #}
🍋
Menu
Web

SPA

Single-Page Application

A web app that loads a single HTML page and dynamically updates content, avoiding full page reloads.

รายละเอียดทางเทคนิค

SPA is part of the web platform's core infrastructure. Modern browsers implement web through standardized Web APIs, ensuring consistent behavior across Chrome, Firefox, Safari, and Edge. The relevant specifications are maintained by the W3C, WHATWG, or IETF. Understanding the underlying protocol or mechanism helps developers use spa correctly, avoid common pitfalls, and optimize for performance and security.

ตัวอย่าง

```javascript
// SPA: web API example
const response = await fetch('/api/resource');
const data = await response.json();
console.log(data);
```

รูปแบบที่เกี่ยวข้อง

เครื่องมือที่เกี่ยวข้อง

คำศัพท์ที่เกี่ยวข้อง