Refactor: Rename loading to _loading and optimize createResource logic to prevent conflicts and improve resource management.#2533
Merged
ryansolid merged 1 commit intosolidjs:mainfrom Oct 27, 2025
Conversation
🦋 Changeset detectedLatest commit: 0223e3c The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
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 |
createResource with improved inspection and serialization logic
Pull Request Test Coverage Report for Build 17024021319Details
💛 - Coveralls |
Open
2 tasks
iacore
reviewed
Aug 15, 2025
4c8363e to
8b0f96e
Compare
createResource with improved inspection and serialization logic
Contributor
Author
|
This commit is a proposal and is being submitted so that it can be part of some option. I understand people's concerns about timeouts, and I've summarized my considerations here. |
16b2e69 to
e66ebc1
Compare
Contributor
Author
|
I resolved it by overriding loading. |
e66ebc1 to
d3f5257
Compare
createResource
68c3e98 to
9fa4ef9
Compare
createResourceread.loading with _loading to avoid variable conflicts and restructure resource handling logic in createResource
9fa4ef9 to
f0186ad
Compare
read.loading with _loading to avoid variable conflicts and restructure resource handling logic in createResourceloading to _loading and optimize createResource logic to prevent conflicts and improve resource management.
f0186ad to
6e43f96
Compare
… logic for improved conflict prevention and resource management.
6e43f96 to
0223e3c
Compare
Member
|
Thanks for keeping the PR clean. I saw the timeout thing and paused on the last release even though I can see this is fixing clearly a bug in what I wrote. |
|
Thanks you two for making Solid better! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Address issue by replacing
loadingwith_loadingto avoid variable conflicts and restructure resource handling logic increateResourceIt also addresses the specific error in another issue(#2132).
How did you test this change?
Try testing the code in the issue or a short-running async function block with a
createResourceas a fetcher.