The main technical stack for HayanMind front-end developer is "React". Mobile applications are implemented as "React Native", and web projects use "React". In this assignment, we will implement an infinite scroll list using React.
- 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.
- The following parameters are supported:
_page
- it starts at 1.
_limit
- Please set the
_limit
parameter to 10.
- Please set the
- Example of the first comment page
- 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"
},
]
- You can use
id
as comment id,email
as user's email andbody
as comment text
- Please look at the following design guide link and reflect the design.
- You have to sign up Figma. If not, you can't see the detailed design guideline.
- After you sign in Figma, then you can see the detailed design guideline. In addition, you can refer the CSS code on the inspect tab.
- You don't have to make it into a responsive design.
- You don't have to specify a font for the text.
- Please fork this repository into your account.
- Please make a new branch based on
master
- You can start to implement by modifying the
InfiniteScrollList.tsx
file. - You can modify all other files if you need.
- You can use the third party library.
- Please use TypeScript only.
HayanMind encourages code review culture to share knowledge and improve code quality among developers. Therefore, developers should be able to make pull requests well so that the other developers can easily review the code. In this assignment, let's make a pull request like we actually get a review of the code we wrote in assignment #1.
- Make pull request for assigment #1 on your repository.
- Please leave a self-review comment reviewing your own code to help reviewers.
- Please make a pull request assuming that the result is actually reviewed.
- Please make a pull request based on the master branch of your repository not original HayanMind repository.
If you have any questions, please email hr@hayanmind.com!