-
Notifications
You must be signed in to change notification settings - Fork 947
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 support for binding responsive styles in gen1 react sdk #3732
add support for binding responsive styles in gen1 react sdk #3732
Conversation
🦋 Changeset detectedLatest commit: 2d0006a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, this logic fixes responsive styles? how are they broken exactly? in SSR?
You initially described this same code as solving SSR of styles, but when Clyde added tests it still didn't address that so he made a different change: #3563
Where was SSR mentioned? This ( #3485 ) was the original PR, I didn't realize we removed this code that I added (was supposed to get in pre launch). The Pr title and description were:
add support for responsive styles in gen1 react sdk and memoize
processBlock
we don't use the post-processed responsiveStyles object that bindings
influence, but instead the preprocessed one
gen2 supports this, but not gen1
maybe just miscommunication somewhere?
|
Seems to be the case. It looks like i conflated two gen1 style issues that you pointed out around the same time (binding responsible styles, and SSR'ing styles). Sorry this didn't make it in sooner. |
all good - best time to plant a tree is 10 years ago, second best time is today! thanks for the quick review |
currently gen2 SDKs support binding to responsive styles, like
but not gen1, this fixes that