Skip to content

issues Search Results · repo:andreiduca/use-async-resource language:TypeScript

Filter by

18 results
 (76 ms)

18 results

inandreiduca/use-async-resource (press backspace or delete to remove)

Hi, first of all thanks for this library, it s great. I m working with React Native and I would need a loading boolean to make ScrollView RefreshControl work. I tried the useTransition hook but it doesn ...
  • FezVrasta
  • 1
  • Opened 
    on Jun 5, 2023
  • #118

I was using this library in a load more scenario (infinity scolling) - there does not seem to be a way to stop suspense being triggered causing a redraw when the getter is used to pull the next set of ...
  • roboticflamingo
  • 3
  • Opened 
    on Apr 1, 2022
  • #104

I m using the create root api and attempting to wrap the setter i get back from the hook in useTransition, however - the suspense boundary gets triggered immediately. I saw a blog post saying this feature ...
  • sami616
  • 1
  • Opened 
    on Nov 10, 2021
  • #94

Hi, i ve got a particular use case where the return and arg types for my async function cannot be inferred due to them needing to be passed as generics when called. I noticed that the useAsyncResource ...
  • sami616
  • 2
  • Opened 
    on Nov 9, 2021
  • #93

Hi, is there a way to reset lazy function? Say you have this fetcher const [collectionsReader, getCollections] = useAsyncResource(fetchDataSourceCollections); which fetchDataSourceCollections has one ...
  • fmendez89
  • 1
  • Opened 
    on May 1, 2021
  • #59

There is no obvious reason for using object-hash here and it adds 32kb to the bundle size. https://bundlephobia.com/result?p=use-async-resource@2.2.1
enhancement
  • gajus
  • 4
  • Opened 
    on Mar 25, 2021
  • #49

Hello, is there a recommended way to combine this package with the useErrorHandler of react-error-boundary module ? It would be nice to provide a handler to catch fetch API errors and handle them with ...
  • quertenmont
  • 1
  • Opened 
    on Mar 10, 2021
  • #48

I m using Nswag (TS client generator) with use-async-resource. I ve noticed it fetches twice the same endpoint. The API Client (auto generated) contains different services which are something like this. ...
  • fmendez89
  • 1
  • Opened 
    on Feb 1, 2021
  • #43

Hello there, we would like to edit the data that fetching back from somewhere in real world. Is there any demo that shows how to add/remove an item to the list in draft (not sync with remote server)? ...
  • ace-han
  • 3
  • Opened 
    on Jan 13, 2021
  • #38

Hello, maybe I just misunderstood the purpose of this library, since it has no examples related to class components; anyway, I m trying to use it within a class component, doing something like: export ...
  • mdesantis
  • 1
  • Opened 
    on Nov 25, 2020
  • #28
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue search results · GitHub