en es

Marcelo Carmona

Follow @carmonamarcelo

Team leader, javascript developer, #juniordevforlife

  • Understanding React.Suspense

    This is a new feature that allow us to “stop” a render until we have finished a task (e.g. loading data from an api) We are going to fetch a task when the component Task is mounted, and save the result in a very simple cache. The interesting part to...

  • Avoid unnecessary re-renders React.memo

    We don’t want to re-render a component if the data for that component has not change. In many cases a component re-render when the props change. In this example we render a new Title for every click in the button. With React memo function we can pass a stateless functional...

  • Creating observables from scratch

    One way to understand Rxjs is implementing something similar and simplest from scratch. I’m going to show how we can compose functions in a similar way that Rxjs does.

    We are going to see different types of...

  • How to comment in React JSX

    The way that we can make comments in React is a little weird, and when we search information is difficult to find it. It is not possible to use HTML comments inside of JSX render() { return ( <div> <!-- this does not work --> </div> ) } It is...

  • Webpack información del building

    When we use webpack to generate our bundles in many cases in our development environment it is convenient to show information about the size of each module, the bundles themselves, the time it takes to carry out the process, if we are transpiling the code through babel for example or...

  • Angular 1.5 lifecycle hooks

    In angular 1.5 the components have a well-defined lifecycle and by means of cycle hooks they allow us to hook functions that help to modify their behavior, we are going to see the roles that each of these hooks have and why you should use them, it is very important...

  • Parsers y Formatters Angularjs

    $parsers It is an array of functions to execute. These functions are executed in order like a pipeline every time that the control read a DOM value. Functions are called following the order of the array and the result of the function is the entry of the next function and...