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

de-mystify resource internals #1166

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

NullVoxPopuli
Copy link
Owner

No description provided.

Copy link

stackblitz bot commented Dec 25, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link

vercel bot commented Dec 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ember-resources-0a9q ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 26, 2025 5:04pm

Copy link
Contributor

github-actions bot commented Dec 25, 2024

Estimated impact to a consuming app, depending on which bundle is imported

js min min + gzip min + brotli
/index.js 14.32 kB 4.28 kB 1.72 kB 1.47 kB

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
test('a generated interval can be cleared', async function (assert) {
const id = cell(0);
const condition = cell(true);

const poll = resourceFactory((id: number) => {
Copy link
Owner Author

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)

@NullVoxPopuli NullVoxPopuli marked this pull request as ready for review February 16, 2025 19:13
@NullVoxPopuli NullVoxPopuli added the bug Something isn't working label Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant