What is the best way to implement a decision tree using React Query Builder? #908
Unanswered
jimmyzzxhlh
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
Generically, would your use case ever be more complex than top-level if-then-else? For example, would it need to handle else-if ( |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
I have some new thoughts on this topic. Please see #919 (comment). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using React Query Builder to build a rule engine to evaluate a bunch of rules and then define a result (e.g. a number or a percentage). This works great for simple rules evaluation, but if I need something like
IF A THEN 1 ELSE 2, then I have to create 2 different rules:IF A THEN 1andIF NOT A THEN 2, which can be complicated if the condition is not trivial.Any recommendations in terms of how I can leverage React Query Builder to build a decision tree? Appreciate any thoughts!
Beta Was this translation helpful? Give feedback.
All reactions