HackerTrans
TopNewTrendsCommentsPastAskShowJobs

wilsonrocks

no profile record

comments

wilsonrocks
·7 lat temu·discuss
I'm excited to take out a lot of lodash gets
wilsonrocks
·7 lat temu·discuss
This seems like a fair point about other people's custom hooks. An important situation where naming helps so people can at least see what they do, without worrying about documentation
wilsonrocks
·7 lat temu·discuss
I've found that the hoop jumping type stuff, while potently annoying, can at least be abstracted into a custom hook (and then mocked in tests) easily so that the code is clean.
wilsonrocks
·7 lat temu·discuss
I certainly found on one occasion where I felt I had to break the laws of hooks, that it worked much better split into two components.