Hacker News new | ask | show | jobs
by scient 2331 days ago
For a developer who has not done React before - this looks super convoluted for some reason. Global functions with constants defined in another function, that act as ... methods? I'm lost :D
1 comments

Global functions? It's just an example -- real world applications are more complicated.