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?Nov 9, 20201Nov 9, 20201
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.Oct 12, 2020Oct 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.Jun 22, 20201Jun 22, 20201
Asís GarcíainTrabeAn HTML Ruler With Vanilla JavaScriptUse a JavaScript snippet to insert a movable and resizable ruler into any HTML page.Jun 8, 20202Jun 8, 20202
Asís GarcíainTrabeA Custom useStateMachine React HookImplement your own custom Hook for using simple state machines in your React apps.Apr 6, 2020Apr 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 workflowJan 20, 2020Jan 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 HookDec 2, 20191Dec 2, 20191
Asís GarcíainTrabeCreating a lazy React components providerLearn how to lazily provide components in a React application using React.Context and React.LazyNov 11, 2019Nov 11, 2019
Asís GarcíainTrabeCustomizing React components using a components providerHow to use React’s context to create a provider of componentsOct 21, 2019Oct 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.Sep 2, 20193Sep 2, 20193