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've been running into an issue with electrolyte where the fact that it operates as a global container (cached by node once required) makes it problematic to use when you have one electrolyte project using another electrolyte library as a dependency (since node doesn't guarantee that your dependency won't just use a higher level electrolyte in node_modules). So I get collisions on component names, which silently override the earlier ones. It also makes testing harder because I cannot create isolated containers for a given test suite.
The text was updated successfully, but these errors were encountered:
I think being able to add a namespace to the container would solve the problem. Maybe when you require Electrolyte you could specify the name of the container you want to retrieve?
I've been running into an issue with electrolyte where the fact that it operates as a global container (cached by node once
require
d) makes it problematic to use when you have one electrolyte project using another electrolyte library as a dependency (since node doesn't guarantee that your dependency won't just use a higher level electrolyte innode_modules
). So I get collisions on component names, which silently override the earlier ones. It also makes testing harder because I cannot create isolated containers for a given test suite.The text was updated successfully, but these errors were encountered: