-
-
Notifications
You must be signed in to change notification settings - Fork 386
Open
Labels
Description
Description
Allow the user to:
- (Un-)select each hook individually. (So that the user can precisely simulate his app's hooks.)
- Select the page's type:
SSR | SSG | SPA.
Follow up of:
AI prompt
==========================================
Replace the Hooks environment toggle with a list of all hooks that can be (un)selected (by default the Standard hooks are selected).
The hooks +data and +onBeforeRender should appear three times:
+data.js | +data.client.js | +data.shared.js
+onBeforeRender.js | +onBeforeRender.client.js | +onBeforeRender.shared.js
(Not mutual exclusive, e.g. the user can select +data.js or/and +data.client.js)
Also add three preset buttons:
All=> selects all hooksNone=> unselects all hooksStandard=> only selects+data.js
Analyze the whole source code, and update the lists accordingly.
Always show Routing and renderPage() (they always exist).
Double check:
==========================================