-
Notifications
You must be signed in to change notification settings - Fork 49.9k
Closed
Description
Both react-async and react-multiplayer need components to have unique identifiers.
In case of react-async — to maintain a mapping from a component to its state and make it serialisable (to send it over the wire, ES6 Map with components as keys can't be used), in case of react-multiplayer — to have an unique URL per component instance.
Currently both of the libraries use this._rootNodeID + ',' + this._mountDepth. Should this be added to a public API — getComponentID() or something?
Metadata
Metadata
Assignees
Labels
No labels