New ask Hacker News story: Hacker News API is not well designed

Hacker News API is not well designed
14 by happppy | 14 comments on Hacker News.
Last night, I thought why not develop a HN clone in react and when I looked at API, Oh my goodness. It is not well designed at all, like passing 400 ids, just ids. And to get posts we have to make requests to get single post detail to show 10 or 20 posts on a page. Well, react helped me a bit like storing ids in array and using splice to get next 10 items and so on.

No comments