Thanks to visit codestin.com
Credit goes to github.com

Skip to content

No magic import effector-react ESM#1096

Merged
igorkamyshev merged 2 commits intorelease/v24from
no-magic-effector-react-esm
Jun 18, 2024
Merged

No magic import effector-react ESM#1096
igorkamyshev merged 2 commits intorelease/v24from
no-magic-effector-react-esm

Conversation

@igorkamyshev
Copy link
Member

@igorkamyshev igorkamyshev commented Jun 17, 2024

fixes #879

  • Use regular import of effector in ESM version of effector-react

This hack is presented only in effector-react, other bindings (effector-vue and effector-solid) works correctly without it. So, in #879 we've decided to remove it.

The solution is tested against playground-app in https://github.com/effector/next. I edited file effector-react/effector-react.mjs in node_modules of playground_app, cleaned .next and started the application, it is working as usual.

@igorkamyshev igorkamyshev marked this pull request as ready for review June 17, 2024 06:16
@igorkamyshev igorkamyshev changed the title No magic import effector-react esm No magic import effector-react ESM Jun 17, 2024
@igorkamyshev igorkamyshev merged commit baf357d into release/v24 Jun 18, 2024
@igorkamyshev igorkamyshev deleted the no-magic-effector-react-esm branch June 18, 2024 06:30
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.

1 participant