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

Remove YieldStyle API #72

Merged
merged 2 commits into from
Apr 17, 2022
Merged

Conversation

WorldSEnder
Copy link
Collaborator

As discussed as part of #70, this removes the YieldStyle API. The behaviour can be easily reproduced inline or with a user-defined trait if necessary.

CHANGELOG.md Outdated
@@ -3,6 +3,9 @@
## v0.11.0

### Breaking Changes:
- Remove `YieldStyle`. This API can be easily reproduced in user code, if need be,
but often leads to clumsy code in struct components. Use alternative API and prefer
`function_component`/`style_component`.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use_style / styled_component?

@WorldSEnder WorldSEnder requested a review from futursolo April 17, 2022 13:06
@futursolo futursolo merged commit 89cde94 into futursolo:master Apr 17, 2022
@WorldSEnder WorldSEnder deleted the remove-yield-style branch April 17, 2022 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants