Skip to content

Commit 57f56a0

Browse files
committed
📝 🚧 initial articles
1 parent d5b6cab commit 57f56a0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+757
-25
lines changed

articles/analytics-example.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
TODO:
2+
- facebook pixel example
3+
- google analytics example
4+
- link to the components

articles/api-example.md

Whitespace-only changes.

articles/application-startup.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
TODO:
2+
- index.js imports the application class
3+
- nullstack starts the application
4+
- the appliaction class can have an static async start function
5+
- the function will run once when the application boots
6+
- the function has access to the server context
7+
- start pattern for components

articles/commom-mistakes.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TODO:
2+
- bind disapearing coz type cast
3+
- forgot an await somewhere

articles/context-and-attributes.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
TODO:
2+
- every function receives a context
3+
- part of the context is the props
4+
- part of the context is the local injections
5+
- part of the context is global store
6+
- context can be destructured when readonly
7+
- there is one global context per tab open
8+
- assign a key to the context adds it to the global store
9+
- mutate context rerenders the application

articles/context-environment.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
TODO:
2+
- is in both client and server contexts
3+
- is readonly on both contexts
4+
- environment.client
5+
- environment.server
6+
- environment.development
7+
- environment.production
8+
- environment.static

articles/context-network.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
TODO:
2+
- network.processing
3+
- network.nameOfmethod
4+
- loaders example

articles/context-page.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
TODO:
2+
- is global to the client context
3+
- page.title;
4+
- title updates the document title in real time
5+
- page.image = "/image.jpg";
6+
- image can be absolute or relative url
7+
- page.description
8+
- page.canonical
9+
- canonical can be absolute or relative url
10+
- page.locale
11+
- page.robots
12+
- page.schema

articles/context-params.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
TODO:
2+
- present in the global client context
3+
- has every query string param mapped to a key
4+
- every key value is a string
5+
- except for true/false which become booleans
6+
- by default every key responds as an empty string instead of undefined
7+
- dynamic segments from the route attribute are injected in the local context
8+
- assigning to the params will update the query string in the url
9+
- changes in the params will cause a history push event
10+
- params cannot be assigned in the lifecycle inside the server yet*
11+
- params changes are debounced
12+
- params with dynamic segments cascade to children
13+
- assignments are serialized to json

articles/context-project.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
TODO:
2+
- is in both client and server contexts
3+
- can be written on server
4+
- is read only on client
5+
- its keys are used to generate the manifest.json
6+
- project.name
7+
- project.domain
8+
- project.shortName
9+
- project.color
10+
- project.backgroundColor
11+
- project.type
12+
- project.display
13+
- project.orientation
14+
- project.scope
15+
- project.root
16+
- project.icons
17+
- project.favicon
18+
- automatic project manifest icon listing

0 commit comments

Comments
 (0)