Wednesday, January 30, 2019

Framework free components


Proceed further if one of the following is true


  1. You recently started a project to rewrite your existing jQuery application to Angular or React
  2. Couple of years back you moved your JSP based application to Single Page App
What is the likely hood that a new shiny framework is going to knock our doors and we rally behind the performance or "ease of development" of that framework ? In recent times hundreds of enterprises rewrote their existing UI applications in React or Angular to deliver the same or sometimes reduced functionality to their users spending millions of dollars on development, testing and support without delivering any  significant business value. One of the primary reasons for this is hype cycles and rallying behind a particular cool technology of the day.

Any team that would like to rewrite their UI Applications need to seriously think about the Web components option before investing on any framework to build the fundamental components that make up their user experience. Frameworks have their place too, particularly in speeding up the development by combining "components" from various teams , managing state and avoiding repetitive code. 

One of recent compiler to produce framework free native html components is "Stencil". Stencil allows developers to use the similar development tool chain that React and Angular developers use to produce a vanilla web component that can be used in any Framework (or just on any plain HTML page).