David Herbert
A Front-end Developer & Technical Writer
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.
This was really well explained.
Thanks for sharing 👏
Yosra Emad
A software engineering student
Well Explained! thank you for sharing!