react-hooks
Here are 3,857 public repositories matching this topic...
-
Updated
Sep 19, 2020 - TypeScript
-
Updated
Sep 17, 2020 - JavaScript
-
Updated
Sep 11, 2020 - JavaScript
-
Updated
Sep 18, 2020 - TypeScript
-
Updated
Sep 7, 2020 - TypeScript
-
Updated
Sep 11, 2020 - JavaScript
100% code coverage
The current code coverage is around 84%, it would be nice to have a 100% score and I'd love to have some help in doing so. Please feel free to open any PR.
-
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
Problem
Every time I access takenote, the setting "Sort By" is "Last Updated".
I always want to set "Sort By" to "Title", so I set it every time.
This is very troublesome.
Solution
I want you to be able to save the settings
Notes
-
Updated
Sep 7, 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
Sep 18, 2020 - JavaScript
-
Updated
Aug 29, 2020 - TypeScript
Package
graphql-hooks
Environment
graphql-hooksversion: 4.3.0reactversion: 16.12.0- Browser: Chrome
Description
I noticed the data variable returned from useQuery is undefined when first rendering a component. This collides with the fact that the types say it's always defined.
See index.d.ts:
interface UseClientRequestResult<ResponseDat-
Updated
Sep 18, 2020 - JavaScript
-
Updated
Aug 24, 2020 - TypeScript
-
Updated
Jul 17, 2020 - JavaScript
-
Updated
Aug 8, 2020 - JavaScript
-
Updated
Sep 17, 2020 - TypeScript
-
Updated
Sep 19, 2020 - TypeScript
-
Updated
Sep 8, 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