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
To support many of the features of Ninoa, such as recursion for loops and for simple implementation of prop merging/inheritance, the children nodes of any node in the "Dialog Object Model" must be virtual.
Another reason is so that to regenerate position correctly, we just need to know the function, the (merged/inherited) props and the internal state (scoped to that node function).
This means we need keep a record of what function we need to execute to make it real, and whatever "props" values it was given.
See how React's virtual tree works for inspiration. (However keep in mind we don't 'render' the full tree).
The text was updated successfully, but these errors were encountered:
To support many of the features of Ninoa, such as recursion for loops and for simple implementation of prop merging/inheritance, the children nodes of any node in the "Dialog Object Model" must be virtual.
Another reason is so that to regenerate position correctly, we just need to know the function, the (merged/inherited) props and the internal state (scoped to that node function).
This means we need keep a record of what function we need to execute to make it real, and whatever "props" values it was given.
See how React's virtual tree works for inspiration. (However keep in mind we don't 'render' the full tree).
The text was updated successfully, but these errors were encountered: