<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>javascript on Esmit Perez</title><link>https://esmit.me/tags/javascript/</link><description>Recent content in javascript on Esmit Perez</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 27 Apr 2020 22:52:47 -0500</lastBuildDate><atom:link href="https://esmit.me/tags/javascript/index.xml" rel="self" type="application/rss+xml"/><item><title>React Wars</title><link>https://esmit.me/posts/react-wars/</link><pubDate>Mon, 27 Apr 2020 22:52:47 -0500</pubDate><guid>https://esmit.me/posts/react-wars/</guid><description>🚀 May the 4th is rapidly approaching and having recently (re) learned the basics of React, I created a simple app that explores the Star Wars API. The end result is available for your perusal in https://github.com/esmitperez/react-wars.
React Wars Crawl React + React Hooks = &amp;#x1f495; Link to heading The app consists of 2 functional (a.k.a pure) components: Films and Crawl. In order to share data between components I am relying on Context using a useContext() hook which reads a context previously created using React.</description></item><item><title>JAMstack Playground</title><link>https://esmit.me/posts/jamstack-playground/</link><pubDate>Fri, 31 Jan 2020 01:10:16 -0600</pubDate><guid>https://esmit.me/posts/jamstack-playground/</guid><description>&amp;#x1f3a4; &amp;ldquo;Hello, is this thing still on?&amp;rdquo; After a five (!) year hiatus I&amp;rsquo;ve returned to blogging about my non-day-job technical interestes. I&amp;rsquo;ll start with the stories of some of my past projects, and pretty soon what I&amp;rsquo;m currently invested on. Stay tuned &amp;#x1f525; &amp;#x1f525;.
Choice is the enemy Link to heading For starters, I wanted to self manage my own site and I wanted something new. In 2014 Medium seemed like the go-to choice, but while publishing was a breeze, embedding other content was a PITA 🙃, and given their current paywall approach, I just don&amp;rsquo;t want to deal with it anymore.</description></item><item><title>Icon Hints on INPUT fields using AngularJS</title><link>https://esmit.me/posts/angular-flags/</link><pubDate>Wed, 18 Jun 2014 00:00:00 -0600</pubDate><guid>https://esmit.me/posts/angular-flags/</guid><description>Note: this was originally published in a now-defunct Medium-post back in 2014. It&amp;rsquo;s been re-edited for 2020 audiences 🤖.
&amp;#x1f30e; We will learn how to make input fields that require an ISO 3166-1 country value to display the corresponding flag, in much the same way Bootstrap shows icons for validations states.
Custom Directive - Final Result Finding usable country flags Link to heading Boostrap can use custom icons but this is not quite what I needed since I had all my images in separate files and I didn’t want to combine them into a single one using the sprite generator in the tutorial, nor did I want to generate a custom class for flags I may not even need.</description></item><item><title>Project Ujko. Costa Rica - Interactive map</title><link>https://esmit.me/posts/interactive-cr-map/</link><pubDate>Fri, 14 Feb 2014 00:00:00 -0600</pubDate><guid>https://esmit.me/posts/interactive-cr-map/</guid><description>&amp;#x1f3eb; I &amp;#x2764;&amp;#xfe0f; maps. This got started in 2013, as there were no (and probably still there aren&amp;rsquo;t) interactive detailed maps of all the districts in Costa Rica. It was not possible to, let&amp;rsquo;s say, generate a data-driven map on-the-fly. jquery was all the rage thenm, and I decided to create a .svg map, and programatically allow to use it. It is available as open source, under Apache License.
tl;dr ?</description></item></channel></rss>