Issue accessing data from API return when implementing infinite scrolling

后端 未结 0 1695
情歌与酒
情歌与酒 2021-02-04 04:36

The API call including the useReducer hook & function:

function scrollReducer(state, action) {
    if(action.type === \'fetch\') {
        return {
                   


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题