Is there anything similar to the filter filter in vue in react?

is there anything similar to the filter filter in vue in

react
using pipe characters to process fields

for example:

{{item.applyDate | date_format}}
{{item.amount | number_format}}
Feb.27,2021

No.
you can write a function instead. Pipes in vue are also equivalent to functions.

  

No. React only cares about the view layer, regardless of the data, write a function to deal with it

.
Menu