Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 447 Bytes

checklist.md

File metadata and controls

17 lines (15 loc) · 447 Bytes
  1. [CODE KNOWLEDGE] - Make sure that you add some rendering optimization techniques (React.memo and so on.)
  2. [CODE KNOWLEDGE] - When you rendering a list, don't forget to add key prop

BAD EXAMPLE:

<div>
  {cats.map(cat => <Cat cat={cat} />)}
</div>

GOOD EXAMPLE:

<div>
  {cats.map(cat => <Cat key={cat.id} cat={cat} />)}
</div>
  1. [API] - When you make a request to the server, don't forget to handle possible errors