You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to bring the following ideas into discussion:
De-contextualizing Entities & Attributes
Currently, entities and attributes use context to pass the builder store instance, which makes it impossible to nest different builders in structures like: A > B > A.
Option to Remove an Entity When Using createEntityComponent
It would be useful to have a .delete() method available in the props passed to a component when using createEntityComponent.
Entity Tree Utilities
I've implemented some utilities myself, but I believe it would be beneficial to have a dedicated package that provides methods for manipulating an entity tree. For example: insert(schema, nodeToAppendTo), remove(startNode, endNode?), replace(newSchema, startNode, endNode?), etc.
Async Validation
The validate methods are now async, which makes it really painful to call these methods inside react hook functions, like useMemo or useState. What about giving sync alternatives?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I would like to bring the following ideas into discussion:
De-contextualizing Entities & Attributes
Currently, entities and attributes use context to pass the builder store instance, which makes it impossible to nest different builders in structures like: A > B > A.
Option to Remove an Entity When Using createEntityComponent
It would be useful to have a .delete() method available in the props passed to a component when using createEntityComponent.
Entity Tree Utilities
I've implemented some utilities myself, but I believe it would be beneficial to have a dedicated package that provides methods for manipulating an entity tree. For example: insert(schema, nodeToAppendTo), remove(startNode, endNode?), replace(newSchema, startNode, endNode?), etc.
Async Validation
The
validate
methods are now async, which makes it really painful to call these methods inside react hook functions, likeuseMemo
oruseState
. What about giving sync alternatives?Beta Was this translation helpful? Give feedback.
All reactions