Managing Responsive Design in Polymer

Over the years, media queries have helped web developers immensely with responsive design. It gives us a way to define CSS rules for a particular breakpoint relative to the browser’s viewport. As the web evolves, web components are becoming more popular and component developers are increasingly interested in applying responsive styles based on the dimensions … Continued

Polymer: Detect Outside Click of Custom Element

Sometimes you may find yourself wanting to detect clicks outside of your custom element in Polymer, the most popular use cases are when: closing a menu or closing a dropdown when the user clicks outside of it. Below is a quick and easy way to achieve this: Add an event listener to the document (*If your … Continued

React vs. Polymer

The age of monolithic javascript frameworks is beginning to end. The age of libraries and web standards is here to stay. The monolithic framework is dead because it locks you into one way of developing your application. This one way does not leave room for new and better ways of development in the future. Both … Continued