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

Fix: React Gen1 SDK: Symbols rendering #3739

Merged
merged 6 commits into from
Nov 17, 2024

Conversation

samijaber
Copy link
Contributor

@samijaber samijaber commented Nov 17, 2024

This reverts commit f4fffe9 (#3681) and allows using /query again to fix React SDK.

v6 (showing wrong symbol):
CleanShot 2024-11-17 at 14 38 47@2x

v7.0.0-0 (dev) showing correct symbol:
image

https://builder-io.atlassian.net/browse/ENG-7483

Copy link

changeset-bot bot commented Nov 17, 2024

🦋 Changeset detected

Latest commit: d46f2a4

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

This PR includes changesets to release 2 packages
Name Type
@builder.io/react Major
@builder.io/sdk Major

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

Comment on lines +2649 to +2650
} else if (apiEndpoint === 'query') {
url = `${host}/api/v3/query/${this.apiKey}/${keyNames}`;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this PR re-introduces apiEndpoint prop, with a default of 'query'. This fixes the rendering issue for symbols

@samijaber samijaber merged commit f12f43d into BuilderIO:main Nov 17, 2024
47 of 48 checks passed
@samijaber samijaber deleted the fix/react-sdk-symbols branch November 17, 2024 19:20
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