You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add page widget class info
* Add references and correct info for page gen code doc.
* Add diagrams for generated methods & classes for model class.
* fix refs
* fix refs
* Add notes & gen code for route settings configurations.
* Add notes & gen code for route settings configurations.
* Add links
Ensures that actions are bypassed if the Entry Page or Logged In Page is detected as inactive. This is designed specifically for entry points in the app to prevent unnecessary operations when the page is not fully active, optimizing performance and avoiding redundant executions.
41
+
42
+
:::tip[Generated Code]
43
+
When this check is enabled, the following code is added to your `initState` of your page:
44
+
```js
45
+
if (RootPageContext.isInactiveRootPage(context)) {
46
+
return;
47
+
}
48
+
// On Page Load Actions added after this
49
+
```
50
+
:::
51
+
52
+
**Requires Authentication**
53
+
54
+
When the "Requires Authentication" option is enabled for a page, it ensures that only users who are logged in can access that page. This setting is particularly useful for protecting sensitive or personalized content, as it prevents unauthorized users from viewing or interacting with the page.
55
+
56
+
:::tip[Generated Code]
57
+
When the Route object is created for this Page, setting `requireAuth: true` ensures that only authenticated users can access this page. If "Requires Authentication" is checked, the app will automatically enforce authentication checks before navigating to this page. This is automatically enabled for **Logged In Page**.
0 commit comments