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

Redo react 17 compatibility #2433

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

benschell-okta
Copy link
Contributor

The dynamic import approach did not work, as consumers using build tooling / bundlers will transform that dynamic import (and will have to resolve it in order to do so). Instead, revert those changes and put UiShell and renderReactInWebComponent into a separate export and appropriately refactor other related files that reference those.

OKTA-839342

Summary

Testing & Screenshots

  • I have confirmed this change with my designer and the Odyssey Design Team.

@benschell-okta benschell-okta requested a review from a team as a code owner December 3, 2024 18:36
@benschell-okta benschell-okta changed the base branch from main to 1.28.1 December 3, 2024 18:37
@benschell-okta benschell-okta merged commit 129114f into 1.28.1 Dec 3, 2024
1 check passed
bryancunningham-okta pushed a commit that referenced this pull request Dec 3, 2024
* Revert "React 17 compatibility (as patch to 1.28) (#2431)"

This reverts commit 8a51b78.

* fix: move UiShell, renderReactInWebComponent into separate export for React 17 compatibility

* fix: related storybook updates
bryancunningham-okta pushed a commit that referenced this pull request Dec 3, 2024
* Revert "React 17 compatibility (as patch to 1.28) (#2431)"

This reverts commit 8a51b78.

* fix: move UiShell, renderReactInWebComponent into separate export for React 17 compatibility

* fix: related storybook updates
@bryancunningham-okta bryancunningham-okta deleted the bs-OKTA-839342-redo-react-17-compatibility branch December 4, 2024 14:27
oktapp-aperture-okta bot pushed a commit that referenced this pull request Dec 4, 2024
DES-6856 Redo react 17 compatibility (#2433)

* Revert "React 17 compatibility (as patch to 1.28) (#2431)"

This reverts commit 8a51b78.

* fix: move UiShell, renderReactInWebComponent into separate export for React 17 compatibility

* fix: related storybook updates
build: bump versions for 1.28.2
docs: update CHANGELOG for 1.28.2
chore(odyssey-react-mui): leave main at 1.28.0
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