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
Example: nodes.sequence() returns an object without function to interpret it. If we want pluggable nodes then it should contain interpretation logic.
Here are some ideas after pluggable nodes will be implemented:
Move default nodes to separate package @btree/nodes
@btree/core should only contain functions for creating nodes and executing tree
Allow people to create custom set of nodes
Default nodes implementation should be optional
If default nodes will be in separate package then nodes.root should not be a node but a normal function eg. createTree - it should be in core package.
Implementing this is crucial for library future. People have different needs and there's no way to fulfill them all. With solid plugin system we could keep this lib alive.
The text was updated successfully, but these errors were encountered:
All current nodes should be in form of a plugin.
Example:
nodes.sequence()
returns an object without function to interpret it. If we want pluggable nodes then it should contain interpretation logic.Here are some ideas after pluggable nodes will be implemented:
@btree/nodes
@btree/core
should only contain functions for creating nodes and executing treenodes.root
should not be a node but a normal function eg.createTree
- it should be in core package.Implementing this is crucial for library future. People have different needs and there's no way to fulfill them all. With solid plugin system we could keep this lib alive.
The text was updated successfully, but these errors were encountered: