-
I want to do sth when headset plugged in
We have `getIsWiredHeadsetPluggedIn()` here for wired headset
But what about bluetooth headset?
-
- Refactor the Calculator component (components/Calculator.js) from a class based component to a functional component with hooks.
- After the refactor is done, test the app in the browser. It should …
-
I'm working on a react native project with
`react: 18.1.0` ,
`react-native: 0.70.5`,
`react-query: 3.39.3`,
and `@react-query-firebase/auth: 1.0.0-dev.2`.
When I try to use useAuthUser as s…
-
Following our chat yesterday I ended up attempting to write a custom hook that would work just like normal state but also sync updates with the DB in the background. It seems to work reasonably well, …
-
The library doesn't work with with react-hook-form (RHF) Controller inputs.
I make a lot of tests and the best solution is use a default useState from React.
That is my code with RHF:
Perhaps in …
-
Every time I make a change, the page refreshes and I'm back to the login screen, at which point I have to re-authenticate by typing "Alice".
I ended up fixing this myself by storing my credentials …
ghost updated
4 years ago
-
I know that the documentation has a clause about such imports, but can there still be some way?
I just want the style imports to always be at the bottom of everyone else
ex. imports:
```js
i…
-
For both React and Preact, the `useSignal` hook implementation is currently defined as:
https://github.com/preactjs/signals/blob/ccb677bdb26ef836d3fac39d30d8f6371693e60f/packages/preact/src/index.t…
-
## For New Translators
To translate a page:
1. Check that no one else has claimed your page in the checklist and comments below.
2. Comment below with the name of the page you would like to tra…
-
### Current Behavior
I keep getting this error in development only (when using `yarn link`), but in production (when published) everything is ok
```
Unhandled Runtime Error
TypeError: Canno…