cleanup, docs
This commit is contained in:
@@ -23,14 +23,6 @@ Use `component_render()` when you want to write component output directly from C
|
||||
|
||||
## Example
|
||||
|
||||
```cpp
|
||||
DValue props;
|
||||
props["body"] = "Hello";
|
||||
|
||||
component_render("components/card:BODY", props, context);
|
||||
```
|
||||
|
||||
## Related Concepts
|
||||
|
||||
- PHP: rendering a partial directly into the current output buffer rather than returning a string
|
||||
- JavaScript / Node.js: direct `res.write()`-style partial rendering or imperative component mount helpers
|
||||
:example
|
||||
print("component_render example\n");
|
||||
|
||||
Reference in New Issue
Block a user