Skip to content

Commit 693ad78

Browse files
Add QueryCommands idea from @DavidVonDerau
1 parent 34ae054 commit 693ad78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rfcs/25-ui-systems-callbacks.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ we can make complex user interfaces dramatically easier to reason about, refacto
318318
2. The `EntityCommand` variant of `Callback` may be better handled using `Relations` in some form in the future.
319319
3. The ergonomics and performance of the callback pattern will be improved with other possible improvements to commands, namely more immediate processing, parallel execution and better control over execution order.
320320
4. Accessing and modifying the behavior of other entities within a UI hierarchy *can* be done as is, but will be much more ergonomic with advanced relations features like the ability to query for data on the target entity.
321+
5. Create a `QueryCommands` type (which applies the command to every entity matching a given query), and then extend callbacks to support this use as well.
321322

322323
### A generalized hook framework
323324

0 commit comments

Comments
 (0)