We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7835f82 + 8ade2ab commit 0512d0eCopy full SHA for 0512d0e
01-Fundamentals/06-unidirectional-data-flow.html
@@ -28,9 +28,9 @@
28
https://scotch.io/tutorials/learning-react-getting-started-and-concepts#unidirectional-data-flow
29
*/
30
var FilteredList = React.createClass({
31
- filterList: (event) =>{
+ filterList: function (event) {
32
var updatedList = this.state.initialItems;
33
- updatedList = updatedList.filter item => {
+ updatedList = updatedList.filter(item => {
34
return item.toLowerCase().search(
35
event.target.value.toLowerCase()) !== -1;
36
});
0 commit comments