Skip to content
This repository was archived by the owner on Nov 9, 2024. It is now read-only.

Conversation

@karl
Copy link
Contributor

@karl karl commented Mar 22, 2021

This MR updates the singleton logic so that setInstances is called when Tippys are added or removed.

This means that you can now dynamically add Tippys when you have a singleton (previously all Tippys needed to be declared when creating the singleton).

This should fix the issue raised here:
#253


@atomiks Let me know if you want any tweaks to this MR before merging it (e.g. more tests, docs changes, etc).

@atomiks
Copy link
Owner

atomiks commented Mar 22, 2021

Thanks!

@atomiks atomiks merged commit a6c060c into atomiks:master Mar 22, 2021
@karl karl deleted the singleton-works-with-new-tippys branch March 22, 2021 16:12
@karl
Copy link
Contributor Author

karl commented Mar 22, 2021

@atomiks Great to have this merged in. Looking forward to this change being released to npm and then I can get rid of my fork!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants