Process – rollback with splits

Consider this scenario, your application has a utility field that is used by all form elements that take the form of a dropdown, and this amounts to about 200 consumers. This utility field is considered legacy, it does not follow new gen practices / use frameworks that have recently been adopted by your development team.… Continue reading Process – rollback with splits

Published
Categorized as Process

React – recommended packages

This post will be a work in progress, but for now I want to start with two great packages. The first is react-hook-form, this is one of the best packages I have used in recent years, out of the box it provides some great hooks and also a global context which allows your form components… Continue reading React – recommended packages

Published
Categorized as React

Javascript – know your method definitions

I definitely recommend regularly refreshing yourself on definitions of common methods used in Javascript, for example Array.prototype.filter() Consider this code: If I saw this code I would think that the author is probably mistaken about how filter works. In some cases array methods will mutate the original array, for example Array.prototype.sort(), but filter does not… Continue reading Javascript – know your method definitions

Published
Categorized as Javascript

React – keep JSX simple

Consider this code: Nothing inherently wrong here, but I do think this this code could be a little bit cleaner, and to be honest what I am about to point out could be considered very subjective, but I think it is worth at least considering. I believe JSX should stick to a document (markup) style… Continue reading React – keep JSX simple

Published
Categorized as React