Skip to content

Commit

Permalink
feat(core): useConst, createSignal, createComputed$
Browse files Browse the repository at this point in the history
  • Loading branch information
wmertens committed May 15, 2024
1 parent ac6ea5c commit cdef5d5
Show file tree
Hide file tree
Showing 14 changed files with 477 additions and 92 deletions.
2 changes: 1 addition & 1 deletion packages/docs/src/routes/api/qwik-city/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@
}
],
"kind": "Function",
"content": "```typescript\nserver$: <T extends ServerFunction>(first: T) => ServerQRL<T>\n```\n\n\n<table><thead><tr><th>\n\nParameter\n\n\n</th><th>\n\nType\n\n\n</th><th>\n\nDescription\n\n\n</th></tr></thead>\n<tbody><tr><td>\n\nfirst\n\n\n</td><td>\n\nT\n\n\n</td><td>\n\n\n</td></tr>\n</tbody></table>\n**Returns:**\n\n[ServerQRL](#serverqrl)<!-- -->&lt;T&gt;",
"content": "```typescript\nserver$: <T extends ServerFunction>(qrl: T) => ServerQRL<T>\n```\n\n\n<table><thead><tr><th>\n\nParameter\n\n\n</th><th>\n\nType\n\n\n</th><th>\n\nDescription\n\n\n</th></tr></thead>\n<tbody><tr><td>\n\nqrl\n\n\n</td><td>\n\nT\n\n\n</td><td>\n\n\n</td></tr>\n</tbody></table>\n**Returns:**\n\n[ServerQRL](#serverqrl)<!-- -->&lt;T&gt;",
"editUrl": "https://github.com/QwikDev/qwik/tree/main/packages/qwik-city/runtime/src/server-functions.ts",
"mdFile": "qwik-city.server_.md"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/src/routes/api/qwik-city/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2128,7 +2128,7 @@ RouterOutlet: import("@builder.io/qwik").Component<unknown>;
## server$
```typescript
server$: <T extends ServerFunction>(first: T) => ServerQRL<T>;
server$: <T extends ServerFunction>(qrl: T) => ServerQRL<T>;
```
<table><thead><tr><th>
Expand All @@ -2146,7 +2146,7 @@ Description
</th></tr></thead>
<tbody><tr><td>
first
qrl
</td><td>
Expand Down
96 changes: 83 additions & 13 deletions packages/docs/src/routes/api/qwik/api.json

Large diffs are not rendered by default.

Loading

0 comments on commit cdef5d5

Please sign in to comment.