Answer the question
In order to leave comments, you need to log in
How to load data when scrolling all the way down?
Hello! I have a middleware that sends a photo request (below)
function getPhotos() {
return dispatch => {
dispatch(getPhotosBegin());
return unsplash.photos.listPhotos(1, 15, "latest") //Первый параметр - страница, второй количество элементов на странице
.then(toJson)
.then(json => {
dispatch(getPhotosSuccess(json));
})
.catch(error => dispatch(getPhotosFailure(error)));
};
}
Answer the question
In order to leave comments, you need to log in
There is no python error here. This is your personal mistake. Accept it and once again, with pain in your soul, study at least one page of a python textbook, where they talk about syntax
Quotes inside quotes. Use different quotes inside and outside:"text'quoted'text"
intersectionObserver or catch the position of the "trigger" object relative to the viewport.
The first one does not have support in IE, well, and it doesn’t matter, but there is a polyfill.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question