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
Why not just having arbitrary fields (stored as an associative array) and being able to access them through a normal getter function?
That way, the second parameter passed to the node constructor (props) can be exactly that set of arbitrary data, with the 'id' and 'color' elements being special.
Why not just having arbitrary fields (stored as an associative array) and being able to access them through a normal getter function?
Sounds good
That way, the second parameter passed to the node constructor (props) can be exactly that set of arbitrary data, with the 'id' and 'color' elements being special.
I'd rather keep these separate. There are so many 'special options', I don't want to confuse anyone if they accidentally run into an option.
Not sure what the best API for this is...
The text was updated successfully, but these errors were encountered: