Getting Started With React Unit Testing For WordPress Development

By Josh Pollock

When I first looked at Vue vs React, I chose VueJS. One of the reasons was that I felt like Vue was a better choice was the complexity of React classes and life-cycle events. I felt like that was a lot of extra complication that would help with developing frameworks, but preferred the simplicity of Vue’s HTML-like templates and Angular-like two-way data-bindings.

While working more with React, I’ve found that can be much simpler, because I can stick to small, pure functions for most of my components.

One thing I love about React is how easy it is to test and refactor …read more

Source:: Torque

No comments