Back to 2017, Starsellersworld want to develop a new tool for people working in the seller’s store and dealing with shipments directed to customers. One of the key work behind every online sellers is to pack and ship the package to the customer, as soon as the order is received, accepted, and invoiced. As a […]
Tag: reactjs
How to define Higher Order Function with elegance
I need some moment to fully understand this: const compose = ( …fns ) => fns.reduce( ( f, g ) => ( …args ) => f( g( …args ) ) ); reduce method is trickly: when initialValue is not given, the first element of the array is taken as first argument of reduce’s callback parameter, […]