Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add isolated() wrapper style. #121

Closed
oscbyspro opened this issue Jun 28, 2022 · 1 comment
Closed

Add isolated() wrapper style. #121

oscbyspro opened this issue Jun 28, 2022 · 1 comment
Labels
enhancement improvements n' stuff
Milestone

Comments

@oscbyspro
Copy link
Owner

Description

This style was proposed in #108 for manual ownership of a style's cache.

Details

  • Its own cache should be of type Void.
  • It should store the wrapped style’s cache and inject it into the style’s methods.
  • It should store the wrapped style's cache as reference shared among all copies of an instances.
  • It should store the wrapped style using value semantics.
@oscbyspro oscbyspro added the enhancement improvements n' stuff label Jun 28, 2022
@oscbyspro oscbyspro added this to the v5.0.0 milestone Jun 28, 2022
@oscbyspro
Copy link
Owner Author

Implemented in 2469618 (untested). I will add tests before v5.0.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improvements n' stuff
Projects
None yet
Development

No branches or pull requests

1 participant