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

Allow using Redux Devtools directly without remotedev #67

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

Linschlager
Copy link
Contributor

Currently, remotedev is needed in all cases, even if you only want to use Redux Devtools. This is only a problem because remotedev hasn't seen updates in a few years now, leading to a few security alerts every now and again.

Furthermore, if there are no Redux Devtools installed in the browser, it automatically defaults to "localhost:8000" which leads to a lot of console errors without the Extension. (See https://github.com/zalmoxisus/remotedev/blob/f8256d934316b37a94cd24870fc1d3efcbe7d0b9/src/devTools.js#L126)

This fixes both of those problems by making the "Redux DevTools Extension" <> "Remotedev" decision before actually calling into the remotedev package.

@MangelMaxime MangelMaxime merged commit 1f23e45 into elmish:v4.x Jun 20, 2024
2 checks passed
@MangelMaxime
Copy link
Member

Thank you it has been released

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