Skip to content

implement useFeed({accountPosts: AccountPostsOptions}) #26

@estebanabaroa

Description

@estebanabaroa

AccountPostsOptions could be something like

{
  limit: number // limit to x newest posts
  append?: boolean // default false, because most likely the user will want to prepend
  newerThan?: number // seconds, don't append posts older than x time
}

we actually probably don't care about displacing the feed when prepending, because most UIs will use a dedicated page to post, so the feed wont be loaded, and those who use a modal to publish can use append:true to append instead.

one issue to think about is what to do if the user's post appears again in a feed, do we repeat it? maybe that should be an option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions