Skip to content
#

hooks

Here are 3,500 public repositories matching this topic...

formik
krichter722
krichter722 commented Apr 19, 2020

🚀 Feature request

Current Behavior

The type ErrorMessage doesn't have an id property.

Desired Behavior

It'd be nice id?: string would be added to the type ErrorMessage and set on the outermost component that serves as error message.

Suggested Solution

Add id={this.props.id} to the outer component in ErrorMessage.

Who does this impact? Who is this

react-query
ingro
ingro commented Oct 19, 2020

Describe the bug
A query remains indefinitely in "fetching" status when the component where it is originated crashes and the error is catched by an error boundary.

To Reproduce
I've created a codesandbox to show the bug, you can see it here: https://codesandbox.io/s/loving-grothendieck-5ovgm
Steps to reproduce the behavior:

  1. Go to the codesanbox;
  2. Click on "Show Posts"
  3. Clos
beautiful-react-hooks
jacekk
jacekk commented Oct 3, 2020

Describe the bug
The following PR introduced some breaking change in typings: https://github.com/beautifulinteractions/beautiful-react-hooks/pull/156/files#diff-b52768974e6bc0faccb7d4b75b162c99R19

Argument of type '() => void' is not assignable to parameter of type 'any[]'.
  Type '() => void' is missing the following properties from type 'any[]': pop, push, concat, join, and 27 more

Improve this page

Add a description, image, and links to the hooks topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the hooks topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.