-
Проделана отличная и большая работа!
Здорово, что ты постарался реализовать как можно больше функционала.
Отмечу правильное применение svg в проекте, выделение глобальных css в переменные, хорошую …
-
We are building an RTK-powered Redux store and encountered an issue with accessing `api.util.updateQueryData` generated by `createApi` inside an endpoint during API initialization. The manual suggests…
-
The API platform has a generic client that can do CRUD operations. RIght now, Query Library is using a custom one.
Type definition is https://github.com/grafana/grafana/blob/main/public/app/features…
-
Hi!
Long time lover of this library, first time caller.
I'm wondering if there's a method to query RTK/fix status using NeoGPS? I'm using NavSpark GPS modules with an RTK setup. I believe the fi…
-
## Review
### Базовые требования: 15 баллов / 15 баллов
| Критерий | Макс. | Моя оценка |
|--------…
-
- Setup Redux
- Use create user api with RTK query
-
- [ ] Use RTK mutation instead of axios.
- [ ] Set axios and RTK headers inside useLogin mutation.
- [ ] Clean up naming convention for user slice.
- [ ] Create a helper hook for checking for user …
-
Is there any way to provide placeholder data when executing a query?
For example if I have the following:
```javascript
const { data } = useMyCoolQuery();
```
I'd like `data` to contain a d…
-
I'm currently using hooks to query an API and set up a polling interval for it, like so:
```
const {
data: event,
isLoading,
isSuccess,
isError,
error,
} = useGetEventQue…
-
기존의 slice + thunk 방식에서 RTK Query를 적용
기대 효과
- 데이터 캐싱을 통해 불필요한 네트워크 비용 감소
- 데이터 호출부와 상태 변경 로직을 완전하게 분리
- 자동으로 Hook을 만들어 주므로 매번 loading, error, success 변수를 따로 만들 필요가 없음
- 코드 수 대폭 감소