fix(4610): computed keepAlive_ 'true' by default#4612
fix(4610): computed keepAlive_ 'true' by default#4612Tzahile wants to merge 10 commits intomobxjs:mainfrom
Conversation
update warn trigger and warn message
🦋 Changeset detectedLatest commit: 38c8923 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
warn on implicit computed (for future migration)
Modifications
|
fixed global flag when set by "false"/"true" revert docs and added proper explanation about future plans
|
Thanks for taking the effort of putting up this PR! However, as discussed in the issue (and happy to elaborate more), the current behavior is very deliberately by design. Apologies for my late follow up on the issue, that might have saved the trouble of setting up the PR. But thanks nonetheless for taking a stab at it! |
|
Thanks for taking the effort of putting up this PR! However, as discussed in the issue (and happy to elaborate more), the current behavior is very deliberately by design. Apologies for my late follow up on the issue, that might have saved the trouble of setting up the PR. But thanks nonetheless for taking a stab at it! In theory the PR could still be useful except for changing the default part. What makes me pause here is that it would alter the behavior of any dependency that would also rely on MobX, and might break it as they would assume the current behavior without any override. |
|
Hi @mweststrate I can make the changes so that my PR is still valuable, could you then please specify what I should do? |
Code change checklist
/docs. For new functionality, at leastAPI.mdshould be updatedyarn mobx test:performance)This is a PR to fix #4610
keepAlive_ default value is changed to
true.As mentioned in the issue description:
This PR also
keepAlive_is false)