W7 done done
This commit is contained in:
@@ -12,7 +12,7 @@ filter
|
||||
:content
|
||||
Copies only selected keys from a DValue map.
|
||||
|
||||
These helpers are intentionally small data-shaping conveniences for render code, routers, and configuration trees. They are useful when porting habits from React/Next/Remix code where lists of routes, navigation items, cards, or records are transformed close to the rendering boundary.
|
||||
These helpers keep common data-shaping code close to render code, routers, and configuration trees. They are useful for route lists, navigation items, cards, and records that need simple transformations before rendering.
|
||||
|
||||
```cpp
|
||||
DValue public_user = dv_pick(user, {"name", "avatar"});
|
||||
|
||||
Reference in New Issue
Block a user