Dan Abramov made a convincing (to me) argument for using the named function style. Stack traces will give a more immediately useful information.
It’s not a deal breaker, so in a work context I would tend towards following the existing style as some people are really attached to anonymous functions
Dan Abramov made a convincing (to me) argument for using the named function style. Stack traces will give a more immediately useful information. It’s not a deal breaker, so in a work context I would tend towards following the existing style as some people are really attached to anonymous functions