Skip to content

Commit 201e4de

Browse files
committed
🔍 🚸 link building
1 parent 00418fb commit 201e4de

File tree

37 files changed

+83
-66
lines changed

37 files changed

+83
-66
lines changed

articles/application-startup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The index.js file at your application root is responsible for starting your appl
77

88
When you run the application with *npm start* or *node .production/server.js* the index will call the start function in your *src/Application.js*.
99

10-
The start function will run only once when your application is booted and is a good place for setting up your server context.
10+
The start function will run only once when your application is booted and is a good place for setting up your [server context](/context).
1111

1212
```jsx
1313
import Nullstack from 'nullstack';
@@ -26,7 +26,7 @@ export default Application;
2626

2727
## Dependency startup pattern
2828

29-
A nice pattern to work with dependencies that require startup time configurations is to define a start function in the dependency and call it in the Application start function passing the application context.
29+
A nice pattern to work with dependencies that require startup time configurations is to define a start function in the dependency and call it in the Application start function passing the [server context](/context).
3030

3131
```jsx
3232
import Nullstack from 'nullstack';

articles/context-network.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ The following keys are available in the object:
1212
- *processing*: boolean
1313
- *[serverFunctionName]*: boolean
1414

15-
When a server function is called, processing will be set to true, when it's resolved processing will be set back to false.
15+
When a [server function](/server-functions) is called, processing will be set to true, when it's resolved processing will be set back to false.
1616

17-
Besides *processing* a key with the name of the server function invoked will be set to true temporarily.
17+
Besides *processing* a key with the name of the [server function](/server-functions) invoked will be set to true temporarily.
1818

1919
Any other key you invoke will always return false instead of undefined for consistency.
2020

21-
When the server is emulating the client context for server-side rendering, every key will always return false, saving multiple render cycles in performance.
21+
When the server is emulating the client context for [server-side rendering](/server-side-rendering), every key will always return false, saving multiple render cycles in performance.
2222

2323
```jsx
2424
import Nullstack from 'nullstack';

articles/context-page.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ The page object is a proxy in the framework store part of your context and gives
77

88
This key is *readwrite* and available only in the *client* context.
99

10-
Page keys will be used to generate metatags during server-side rendering and must be assigned before *initiate* is resolved.
10+
Page keys will be used to generate metatags during [server-side rendering](/server-side-rendering) and must be assigned before [initiate](/full-stack-lifecycle) is resolved.
1111

1212
The following keys are available in the object:
1313

articles/context-project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This key is *readwrite* in the *server* context.
99

1010
This key is *readonly* in the *client* context.
1111

12-
Project keys will be used to generate metatags during server-side rendering and must be assigned before *initiate* is resolved.
12+
Project keys will be used to generate metatags during server-side rendering and must be assigned before [initiate](/full-stack-lifecycle) is resolved.
1313

1414
Project keys will be used to generate the app manifest and should ideally be set during the [application startup](/application-startup).
1515

articles/context-secrets.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ The following keys are available in the object:
1515
- *production*: object
1616
- *[anySetting]*: any
1717

18-
You can assign keys to *development* or *production* keys in order to have different secrets per environment.
18+
You can assign keys to *development* or *production* keys in order to have different secrets per [environment](/context-environment).
1919

2020
If you assign a key directly to the secrets object it will be available in both environments.
2121

22-
When reading from a key you must read directly from the secrets object and Nullstack will return the best-suited value for that environment.
22+
When reading from a key you must read directly from the secrets object and Nullstack will return the best-suited value for that [environment](/context-environment).
2323

2424
```jsx
2525
import Nullstack from 'nullstack';

articles/context-settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ The following keys are available in the object:
1717
- *production*: object
1818
- *[anySetting]*: any
1919

20-
You can assign keys to *development* or *production* keys in order to have different settings per environment.
20+
You can assign keys to *development* or *production* keys in order to have different settings per [environment](/context-environment).
2121

2222
If you assign a key directly to the settings object it will be available in both environments.
2323

24-
When reading from a key you must read directly from the settings object and Nullstack will return the best-suited value for that environment.
24+
When reading from a key you must read directly from the settings object and Nullstack will return the best-suited value for that [environment](/context-environment).
2525

2626
```jsx
2727
import Nullstack from 'nullstack';

articles/instance-key.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default Page;
5252

5353
You can also use keys to share the instance between two elements.
5454

55-
Only the first encounter of the key will run its lifecycle
55+
Only the first encounter of the key will run its [lifecycle](/full-stack-lifecycle)
5656

5757
```jsx
5858
import Nullstack from 'nullstack';

articles/routes-and-params.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ Part of the route can be an expression started with ":" followed by a param name
106106

107107
This value will be matched against any string in the same directory position.
108108

109-
The value of the string in the URL will be assigned to the context params and functions below this point in the hierarchy will have access to the new key.
109+
The value of the string in the URL will be assigned to the [context](/context) params and functions below this point in the hierarchy will have access to the new key.
110110

111111
> 🐱‍💻 Bellow an example that visits "/category/suspense?page=2":
112112

articles/server-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Being a static function means it has no access to the instance scope.
1111

1212
However, instead of calling the static version from the *class*, you must invoke it as an *instance* function.
1313

14-
Server functions can be called anytime in your code and are not limited to prerender steps.
14+
Server functions can be called anytime in your code and are not limited to [prerender](full-stack-lifecycle) steps.
1515

1616
```jsx
1717
import Nullstack from 'nullstack';

articles/server-request-and-response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export default Application;
6565

6666
Every server function context is merged with the original request and response objects from express.
6767

68-
If you raise a response manually it will override the framework's server-side rendering response.
68+
If you raise a response manually it will override the framework's [server-side rendering](/server-side-rendering) response.
6969

7070
```jsx
7171
import Nullstack from 'nullstack';

0 commit comments

Comments
 (0)