Skip to content

Minimal working example for a self-retriggering corner case in rtk-query

Notifications You must be signed in to change notification settings

cebamps/rtk-query-error-loop-mwe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running

yarn && yarn start

Reproducing the issue

  1. Submit some alphabetical query string (e.g., "foobar").
  2. Observe the single success debug print in the browser console.
  3. Submit a query string that is not purely alphabetical (e.g., "foo bar").
  4. Observe that error debug prints get produced in a loop.

An explanation can be found in ./src/App.tsx.

About

Minimal working example for a self-retriggering corner case in rtk-query

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published