๐Blog ํฌ์คํ ๋ณด๋ฌ๊ฐ๊ธฐ.
โ ๋ฌดํ ์คํฌ๋กค ๊ตฌํํ๊ธฐโ
๐ ๊ณผ์ ์๊ตฌ์ฌํญ ๋ณด๊ธฐ
1. Implement the user's comment data list with infinite scrolling by getting more 10 comments repeatedly.
- The user's dummy comment data can be called through the API below.- https://www.figma.com/file/T9P3B5qjnTqhWi1Ou5BmIL/HayanMind-FrontEnd-TA
- https://jsonplaceholder.typicode.com/comments
- The following parameters are supported:
-_page
- it starts at 1.
-_limit
- Please set the `_limit` parameter to 10.
- Example of the first comment page
- https://jsonplaceholder.typicode.com/comments?_page=1&_limit=10
- Sample data[ { "postId": 1, "id": 1, "name": "id labore ex et quam laborum", "email": "Eliseo@gardner.biz", "body": "laudantium enim quasi est quidem magnam voluptate ipsam eos\\ntempora quo necessitatibus\\ndolor quam autem quasi\\nreiciendis et nam sapiente accusantium" }, ]
yarn install
yarn start
IntersectionObserver
API
- ์ด๋ฒ ๋ฌดํ ์คํฌ๋กค๋ง์ ๊ตฌํํ๊ธฐ ์ํด ์ฌ์ฉํ API์ ๋๋ค.