How can I implement an array with fixed size in react. So users cant add more after 5 inputs

后端 未结 0 1012
醉梦人生
醉梦人生 2021-01-01 09:53

Gaol: Im working on a simple react-app with context-api. i would like users to search movies and save nominations to an array in localstorage after nominating 5 movies.

相关标签:
回答
  • 消灭零回复
提交回复
热议问题