The problem is that the value of hasMore is always stale, and I need to work around this by wrapping the check in a setTimeout to get the correct value.
Given a community with two pages of results, the first load will return false for hasMore and if I call nextPage, the next load will return true.
Am I misunderstanding how to use the results? Or is this a bug?
Hi @rdmitrij - sorry for the delayed response, I can confirm that this is currently a limitation of the system due to internal reactivity state. For now you will need to use setTimeout to help ‘tick’ the system