Asís GarcíainTrabeWhy is React Declarative? A Story About Function ComponentsIs there any difference between a React function component and a plain JavaScript function?3 min read·Nov 9, 2020--1--1
Asís GarcíainTrabeUse Enzyme & Jest Snapshots to Test data-testid Attributes in React ComponentsLearn how to use Jest snapshots to test data-testid attributes in your React components.3 min read·Oct 12, 2020----
Asís GarcíainTrabeFine-tune Dependency Versions in Your JavaScript MonorepoLearn how to solve the problems caused when different packages in a monorepo depend on different versions of the same dependency.5 min read·Jun 22, 2020--1--1
Asís GarcíainTrabeAn HTML Ruler With Vanilla JavaScriptUse a JavaScript snippet to insert a movable and resizable ruler into any HTML page.5 min read·Jun 8, 2020--2--2
Asís GarcíainTrabeA Custom useStateMachine React HookImplement your own custom Hook for using simple state machines in your React apps.4 min read·Apr 6, 2020----
Asís GarcíainTrabeDealing With Git Conflicts Using Vim and Vcs-jumpLearn how to use the vcs-jump Vim plugin to streamline your conflicts resolution workflow3 min read·Jan 20, 2020----
Asís GarcíainTrabeKeep two refs in sync using a custom React HookLearn how to get two different refs to the same component in React using a custom Hook2 min read·Dec 2, 2019--1--1
Asís GarcíainTrabeCreating a lazy React components providerLearn how to lazily provide components in a React application using React.Context and React.Lazy3 min read·Nov 11, 2019----
Asís GarcíainTrabeCustomizing React components using a components providerHow to use React’s context to create a provider of components3 min read·Oct 21, 2019----
Asís GarcíainTrabeAdvanced composition in React: cloneElement, HOCs and renderPropsIn this story we’ll have a look at some advanced ways to compose React components, how they work and when to use them.5 min read·Sep 2, 2019--3--3