Home Blog
Categories About Me Contact
Language
Español English
tips

Eduardo Ortega's blog

Notes from a developer

React components: add CSS with clean code

When it comes to designing applications with React, there are many ways to add style to components. The ones I knew so far were the following: Import a CSS file with the necessary classes and use the JSX property “className” to add them to the component....

react css tips clean-code
Author Eduardo Ortega 06 Dec 2020

Docker Image Optimization: from 1.16GB to 22.4MB

Docker is a platform for software developers and sysadmins to build, run, and share applications with containers. A container is a process that runs in an isolated environment, on its own filesystem; that filesystem is built using a docker image. Images include everything you need to run an application (compiled code, dependencies, libraries, etc....

docker dockerfiles tips optimization devops
Author Eduardo Ortega 01 Nov 2020

Remove Duplicates from an Array with JavaScript

This way of removing duplicates is quite simple and elegant, thanks to the methods Array.filter() and Array.indexOf(). The Array.filter() method creates a new array from an existing one, which contains only the elements that meet the filter criteria. The Array.indexOf() method, on the other hand, returns the index of the first element of an array whose value matches the one passed to it as a parameter....

javascript programming tips algorithm
Author Eduardo Ortega 11 Oct 2020
Page 1 of 1  
Eduardo Ortega's blog
Copyright © 2020
Customized EM's Casper 2.1.7 theme