react-hooks
Here are 4,103 public repositories matching this topic...
-
Updated
Oct 14, 2020 - TypeScript
-
Updated
Oct 13, 2020 - JavaScript
-
Updated
Oct 13, 2020 - TypeScript
-
Updated
Sep 11, 2020 - JavaScript
-
Updated
Sep 7, 2020 - TypeScript
-
Updated
Oct 7, 2020 - JavaScript
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
100% code coverage
-
Updated
Sep 8, 2020 - TypeScript
There is an existing PR created to add docs to testing-library-docs from when testHook was part of react-testing-library. Since it was removed and the code merged with this library, the PR has stalled waiting on updates to change it to reference this library instead.
If anyone wants to take over the PR and update it accordingly, you are more than welcome. You can even [add yourself as a
-
Updated
Oct 7, 2020 - TypeScript
-
Updated
Sep 30, 2020 - TypeScript
-
Updated
Jun 19, 2020 - JavaScript
Intended outcome
Jest runs and finishes when expected.
Actual outcome
After adding an <Observer> to a component and using that component in a test with Jest and react-test-renderer, Jest runs successfully but returns a warning Jest did not exit one second after the test run has completed.
How to reproduce the issue
[Repo](https://github.com/bscaspar/jest-observer-test-demo/tr
It's important, I think, if the goal is to communicate that this can replace React in more ways than function.
-
Updated
Oct 3, 2020 - JavaScript
-
Updated
Aug 29, 2020 - TypeScript
-
Updated
Sep 24, 2020 - TypeScript
Description
Graphql clients comparison (apollo client vs graphql-hooks vs urql).
Suggested implementation
List describing the advantages / disadvantages to other major clients. This library looks interesting but I don't see any advantage other file size.
-
Updated
Sep 18, 2020 - JavaScript
-
Updated
Jul 17, 2020 - JavaScript
-
Updated
Sep 17, 2020 - TypeScript
-
Updated
Aug 8, 2020 - JavaScript
-
Updated
Oct 6, 2020 - TypeScript
-
Updated
Oct 4, 2020 - JavaScript
-
Updated
Apr 25, 2019 - JavaScript
-
Updated
Sep 8, 2020 - JavaScript
Improve this page
Add a description, image, and links to the react-hooks topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the react-hooks topic, visit your repo's landing page and select "manage topics."
Current Behavior
The type
ErrorMessagedoesn't have an id property.Desired Behavior
It'd be nice
id?: stringwould be added to the typeErrorMessageand set on the outermost component that serves as error message.Suggested Solution
Add
id={this.props.id}to the outer component inErrorMessage.Who does this impact? Who is this