More Info
Project Mode
Project Mode - Static or Dynamic
Project Mode
The project mode is determined by the isStatic flag in the StoreProvider component.
<StoreProvider data={data} config={config} isStatic={true}>
<MainView />
</StoreProvider>Static Mode
In static mode, the application is static and the URL structure is fixed. Parameters are passed as search params. (more details in Routing section) Static mode allows for static-exportation of the application. Addtional config options should be set up on the nextjs configuration, check Next.js configuration for more details.
Dynamic Mode
...
Compatibility Table
| Feature | Dynamic | Static |
|---|---|---|
| URL Structure | Dynamic, Pretty URLs | Fixed, Search Params |
| Data fetching | Dynamic | Static |
| Static-exportation | No | Yes |
| Sitemap generation | Yes | No |
| Assistant | Yes | Yes, needs a server |