LaisFSGomes / biblioteca

Avoid .bind() or local functions in JSX properties JS-0417
Performance
Major
2 occurrences in this check
JSX props should not use arrow functions
14  };
15
16  return (
17    <form onSubmit={submitSearch} className="Search">18      <input
19        className="input-search"
20        id="search"
JSX props should not use arrow functions
23  return (
24    <div className="App">
25      <h1 className="title">{props.title}</h1>
26      <Search info={fetchData} />27      <List list={books.hits} />
28      <Footer info={props.footer} />
29    </div>