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

Use new AppForClient in derby@4 if present #29

Merged
merged 1 commit into from
May 1, 2024

Conversation

ericyhwang
Copy link
Contributor

derby@4 moves client-only logic into a new AppForClient subclass, so the derby-webpack override of _views() needs to happen on the subclass. This falls back to using App for backwards compatibility.

Without this, derby's App.js produces an error on client attach:

Uncaught TypeError: this._views(...) is not a function

derby@4 moves client-only logic into a new AppForClient subclass, so the derby-webpack override of _views() needs to happen on the subclass. This falls back to using App for backwards compatibility.
@ericyhwang ericyhwang requested a review from craigbeck May 1, 2024 00:01
@craigbeck craigbeck merged commit 34dff14 into main May 1, 2024
@craigbeck craigbeck deleted the derby-4-AppForClient-compat branch May 1, 2024 01:42
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