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 support for binding responsive styles in gen1 react sdk #3732

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

steve8708
Copy link
Contributor

@steve8708 steve8708 commented Nov 13, 2024

currently gen2 SDKs support binding to responsive styles, like

{ bindings: { 'responsiveStyles.medium.color': 'state.foo'}

but not gen1, this fixes that

@steve8708 steve8708 requested a review from a team as a code owner November 13, 2024 18:41
@steve8708 steve8708 requested review from mrkoreye and removed request for a team November 13, 2024 18:41
Copy link

changeset-bot bot commented Nov 13, 2024

🦋 Changeset detected

Latest commit: 2d0006a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@builder.io/react Patch

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

Copy link
Contributor

@samijaber samijaber left a 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

@steve8708
Copy link
Contributor Author

steve8708 commented Nov 13, 2024 via email

@steve8708 steve8708 changed the title add support for responsive styles in gen1 react sdk add support for binding responsive styles in gen1 react sdk Nov 13, 2024
@samijaber
Copy link
Contributor

samijaber commented Nov 14, 2024

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.

@steve8708
Copy link
Contributor Author

all good - best time to plant a tree is 10 years ago, second best time is today! thanks for the quick review

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