# Feed views

### When to use feed views

Feed groups let you define what activities should be included in the feed and the ranking to sort these activities.

By default all feeds in the given group will have the same settings. However, you might want to experiment with different selectors and rankings. Feed views let you do that by overriding the group's default settings.

<codetabs>

<codetabs-item value="nodejs" label="Node">

```js
await serverClient.feeds.createFeedView({
  view_id: "<view id>",
  activity_selectors: [
    {
      type: "following",
    },
  ],
  ranking: { type: "time" },
});
```

</codetabs-item>

<codetabs-item value="go-golang" label="Go">

```go
package main

import (
    "context"
    "log"

    "github.com/GetStream/getstream-go/v3"
)

func main() {
    client, err := getstream.NewClient("<your_api_key>", "<your_api_secret>")
    if err != nil {
        log.Fatal(err)
    }

    ctx := context.Background()

    feedsClient := client.Feeds()

    // Create a custom feed view
    viewID := "<view id>"
    feedView, err := feedsClient.CreateFeedView(ctx, &getstream.CreateFeedViewRequest{
        ViewId: &viewID,
        ActivitySelectors: []getstream.ActivitySelector{
            {
                Type: getstream.PtrTo("following"),
            },
        },
        Ranking: &getstream.Ranking{
            Type: getstream.PtrTo("time"),
        },
    })
    if err != nil {
        log.Fatal(err)
    }
    log.Printf("Feed view created: %s", *feedView.Data.ViewId)
}
```

</codetabs-item>

</codetabs>

<partial id="activity-feeds/v3-latest/_default/_partials/reading-feed-with-id"></partial>

With custom feed views you can control

- Activity selectors
- Ranking
- Aggregation

## Updating feed views

It's possible to update any custom or built-in feed views.

<partial id="activity-feeds/v3-latest/_default/_partials/update-feed-view"></partial>

## Deleting feed views

<partial id="activity-feeds/v3-latest/_default/_partials/delete-feed-view"></partial>

---

This page was last updated at 2025-08-15T14:14:10.280Z.

For the most recent version of this documentation, visit [https://getstream.io/activity-feeds/docs/react-native/feed-views/](https://getstream.io/activity-feeds/docs/react-native/feed-views/).