- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1k
          Refactor: Rename loading to _loading and optimize createResource logic to prevent conflicts and improve resource management.
          #2533
        
          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
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 | 
4c8363e    to
    8b0f96e      
    Compare
  
    createResource with improved inspection and serialization logic| 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
  
    | 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
  
    | 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! | 
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.