|
|
|
|
|
by HeyImAlex
4008 days ago
|
|
They are the same I think, only one has extra parameters. At least in Python, @fn(...args) evaluates the function first and uses the result as a decorator. The guy who wrote the blog post you mention actually uses the parent's pattern in react-dnd. |
|