3 ms·
React is open source, you can view the source for this "magic construct" so I don't see any validity to your argument. useState returns 2 variables - a getter
by ArchReaper 7y ago
React is open source, you can view the source for this "magic construct" so I don't see any validity to your argument.
useState returns 2 variables - a getter and a setter, where the getter is just a variable and not even a function to call.
How is that equatable to some hidden construct? How is Clojure superior to that?