Howdy!!! React (16.8?) introduced hooks not long ago and I have been using them more and more to create functional components where state and effects are easily identifiable and maintenance-friendly. I have found the React docs quite good at explaining what they are and how you are supposed to use them. You can read more about them here: https://reactjs.org/docs/hooks-intro.html useEffect The useEffect hook let’s you perform side effects in function components, those side effects could be:
Introduction The Builder Pattern is a design pattern used to construct objects by relying on method chaining. Once the required properties have been set, calling Build in the builder instance gives you in exchange a fully populated object. This pattern works well when you want to implement a DSL that provides a self-documented API to object construction. I have been looking at Typescript type system lately, trying to find clever ways to use its power and flexibility.
typescript · fp-ts
Introduction I have been working with Typescript for a few months already. I have also used it for real in one of my engagements at Readify and also to develop some personal projects. All in all I think it’s a great language and very pleasant to work with. After a little while I started to push the limits of its type system and wanted to know if it was possible to leverage functional programming patterns with it.