Sitemap
<Simply />

Web Development Simply, Funny and Efficiently.

Member-only story

Comparison: HOCs vs Render Props vs Hooks

18 min readOct 5, 2019

--

Few definitions

Higher Order Function (HOF)

const greaterThen = x => y => y > x;greaterThen(10)(11); // true
const greaterThen10 = greaterThen(10);greaterThen10(11); // true

--

--

<Simply />
<Simply />

Published in <Simply />

Web Development Simply, Funny and Efficiently.

Luke Hall
Luke Hall

Written by Luke Hall

Senior JavaScript Developer • Keep things simple • medium.com/simply

Responses (8)