-
Notifications
You must be signed in to change notification settings - Fork 28
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
.background color modifier #41
Comments
Or even if you mean that operator sets the background color of the node, that's not also a good practice. |
got it, there's that technical limitation I was looking for. apologies for not searching the issues before creating a new one, and thank you for your work building this! |
actually, as I'm looking through your demo, would it not be possible to wrap why is it a best practice to enforce that operators only modify the layout, not node style/state? does modifying state/style cause a re-render? |
It would be nice to have a
.background(Color.red)
operator on a view, that sets the.backgroundColor
of theASDisplayNode
. Is there a technical reason this isn't already in the library? If not, could that operator be added?The text was updated successfully, but these errors were encountered: