-
Notifications
You must be signed in to change notification settings - Fork 37
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
de-mystify resource internals #1166
base: main
Are you sure you want to change the base?
Conversation
Run & review this pull request in StackBlitz Codeflow. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Estimated impact to a consuming app, depending on which bundle is imported
|
is thish better? maybe tests will tell me ope ope The builder had to be registered to the helper manager Be more robust with owner detection Maybe progress it works, now for memory leak testing
8e74bcd
to
2400805
Compare
test('a generated interval can be cleared', async function (assert) { | ||
const id = cell(0); | ||
const condition = cell(true); | ||
|
||
const poll = resourceFactory((id: number) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
resourceFactory isn't needed here, and is kinda awkward to have inline like this (moreso that the call below, imo)
No description provided.