---
title: "Comment by Aaron Reisman on \"Implementing Feature Flags in a Next.js Application\" | Hashnode"
description: "you&#39;d be better off returning 1 result for the getServerSideProps and just using the single result in the react component. By not doing that, you need to re"
url: "https://hashnode.com/posts/implementing-feature-flags-in-a-nextjs-application/626a8f6f7d5d27b992e4c041/comment/627057909ed78401a6408857"
---

[Discussion](https://hashnode.com/posts/implementing-feature-flags-in-a-nextjs-application/626a8f6f7d5d27b992e4c041)

Comment [Implementing Feature Flags in a Next.js Application](https://hashnode.com/posts/implementing-feature-flags-in-a-nextjs-application/626a8f6f7d5d27b992e4c041)

[Aaron Reisman](https://hashnode.com/@lifeiscontent)

[May 2, 2022](https://hashnode.com/posts/implementing-feature-flags-in-a-nextjs-application/626a8f6f7d5d27b992e4c041/comment/627057909ed78401a6408857)

you'd be better off returning 1 result for the getServerSideProps and just using the single result in the react component. By not doing that, you need to return an entire result on the client side rather than letting next serve you a smaller payload, and the component composition of the card would be much simpler rather than having to index into an array.

[David Herbert](https://hashnode.com/@DaveyHert)

[May 7, 2022](https://hashnode.com/posts/implementing-feature-flags-in-a-nextjs-application/626a8f6f7d5d27b992e4c041/comment/627057909ed78401a6408857#reply-62761071dc122f5a4f21d3eb)

Ah! I completely understand. Thanks for the heads up Aaron🤝🏽
