hooks
Here are 6,165 public repositories matching this topic...
-
Updated
Dec 20, 2021 - TypeScript
Bug report
Description / Observed Behavior
Passing an updated fetcher method to useSWR has no effect. The initial version of the fetcher will be used.
I am passing a fetcher function to useSWR that is updated by applying a new access token.
const [accessToken, setAccessToken] = useState("valid-0");
const fetcher = () => {
console.log("fetch with token:", accessToken-
Updated
Sep 10, 2020 - Objective-C
-
Updated
Dec 15, 2021 - Go
Is your feature request related to a problem? Please describe.
React custom hook for playing audios
Describe the solution you'd like
Something like this one: StackOverflow: Playing sound in React.js
Describe alternatives you've considered
N/A
Additional context
N/A
100% code coverage
-
Updated
Dec 11, 2021 - JavaScript
-
Updated
Oct 13, 2021 - JavaScript
-
Updated
Sep 21, 2021 - TypeScript
-
Updated
Sep 21, 2021 - TypeScript
Same as mantinedev/mantine#491
-
Updated
Dec 8, 2021 - TypeScript
This is suggested in Gitter chat (Russian room). We have such method for uia_controls.MenuWrapper. But some menus are implemented as toolbar with drop-down submenus. It makes sense to add similar methods to choose such submenu items.
-
Updated
Nov 29, 2021 - Python
-
Updated
Dec 15, 2021 - TypeScript
-
Updated
Dec 20, 2021 - TypeScript
Describe the bug
The sidebar has overflow: scroll causing scrollbars always to be visible on Windows
To Reproduce
Steps to reproduce the behavior:
- Go to documentation using Windows
Expected behavior
There should not be scrollbars before the content overflows
Screenshots


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