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

Conversation

@atomiks
Copy link
Owner

@atomiks atomiks commented Oct 12, 2019

As I mentioned before, visible doesn't make sense for singletons, but enabled does. But this brings up an interesting problem: how do you make visible or enabled work for sub-tippies that are part of the singleton? I think with group, that previously worked since they were individual instances. This probably requires changes in core.

Since there's now common code, I've extracted these into separate hooks and created util-hooks (used internally) and hooks (exported by the package) directories.

@atomiks atomiks changed the title Singleton enabled prop Support enabled prop in singletons Oct 12, 2019
@atomiks atomiks merged commit 8ec5fd9 into master Oct 12, 2019
@atomiks atomiks deleted the singleton-enabled-prop branch October 12, 2019 01:40
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