Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bazza451
· 7y ago · 0 comments
Didn’t mean callbacks, meant shape of the code with indents could get large and difficult to grep. JSX style macro over the top might help .
Comments
[–]
ivanceras
7y ago
In that case, breaking up the functions into several smaller functions helps. The rule of thumb of the size of a function body shouldn't be larger than the size of a computer screen.