Asynchroniczność w Redux: redux-thunk #116
Replies: 2 comments 5 replies
-
Beta Was this translation helpful? Give feedback.
1 reply
-
Co oznacza zapis () => (dispatch) => ? Komentarz zaimportowany z WordPressa |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Asynchroniczność w Redux: redux-thunk
Do tej pory dane z API pobierałem po prostu w komponencie App, a po przyjściu odpowiedzi wysyłałem odpowiednią akcję (contactsFetched). To działało. Ale wymyśliłem sobie nową funkcję w aplikacji: Możliwość parametryzowania zapytań do API. Posłuży mi do tego nowy komponent. Jak teraz mam wykonywać zapytania do API? Przekazywać coś do…
https://typeofweb.com/asynchronicznosc-w-redux-redux-thunk
Beta Was this translation helpful? Give feedback.
All reactions