Echo JS 0.11.0


planttheidea comments

planttheidea 361 days ago. link 2 points
By the way, after a small refactor I just did, moize.react is actually now twice as fast as it was (20x faster than v2).
planttheidea 362 days ago. link 6 points
This is some super important JavaScript stuff going on here. Yup.
planttheidea 370 days ago. link 1 point
A good entry, however it should be noted that you do not use functional components to build a higher order component ... You use a basic decorator function. A functional component accepts props, whereas a decorator accepts the component function itself. This will work with any version of React.
planttheidea 371 days ago. link 1 point
"A great question to ask is, 'Will I need to access this variable more than once?' If so, than probably globally is the best choice."

... You're kidding right? Global is rarely the best choice, and I say that because never say never. 9999999 out of 10000000, global is not the right choice, just the easiest. You should consider learning how to leverage closures (or the modern import syntax) to better use variables in a scoped way.