4.14 components control vs non control and components without state vs with state
In this class what we’re gonna do is gonna end up
in the expense item will you do
is that you will select from const title until the end here
and you will delete everything and
we’ll keep that const DepenseItem props and return right here afterwards here this that you’re going to do
is that we will not leave the title alone we will add in front
props.title like this
then what you do you create
a DepensesFiltre.js and a DepensesFiltre.css
very well after creating the files DepensesFiltre.js and point css what we are going to do is that already in
js you will copy this code and in CSS this code
here I let you put on pause and copy
for those who don’t know the filter command the girls look like you so ordered from the standard entrance and team
the result, that is, the data processed
on the standard output by sequencing the commands.
filters Allow to obtain very sophisticated treatments but of a utility essential
and in javascript how to filter
the filter method that allows to create an array containing the filter elements of a other table
just fine that now you know
filter and after all that we will approach filter in the next classes and we will use it a little more
often we meet for the next class.