Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

How do ZuckerJS handle a specific page which user requests?

saposs edited this page Jun 7, 2019 · 1 revision

Basically, ZuckerJS will handle each request/page as follows:

  • User requests a page.
  • ZuckerJS specifies all defined components.
  • Run entry point service with some specific arguments(optional).
  • Load them from cache if they've already existed. Otherwise, cache them.
  • Run some found components that have the same hash/route.
  • Render those components.
  • Completed.

A set of all client-side pages will form SPA web application.