Skip to content

README does not explain how to trigger the first fetch #170

@benshine

Description

@benshine

From the README, it is unclear that we need to explicitly trigger the first fetch. The readme says "This setup will immediatly call fetch twice (for records 0-4 [page 0] and records 5-9 [page 1])"... but actually it won't.

I think the solution is to add

on-init=(action 'initializeReadOffset')

to the template, and an implementation of initializeReadOffset that just does this:
dataset.setReadOffset(0);

Sound right? If so, I'll make a PR.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions