Showing all 6 blog posts by Michael Ashton.
-
JavaScript Variable Declaration in the 21st Century
October 2020 marked the 14th anniversary of the introduction of “let” and "const" to Javascript. Yes, it was in 2006 that this feature was first introduced, and we’re still hav... Read more
January 25, 2021 -
JWT Authentication: Rethinking the Pattern
Part two of a two-part series. View part one. Stateless authentication with JSON Web Tokens — safely! As developers who build REST APIs, we are quite familiar with JSON Web To... Read more
October 20, 2020 -
Build React Apps with Styled Components: The Why and How of the Styled-Components Library
React is a library that helps developers approach user interface (UI) development with the single-responsibility principle in mind, while building reusable, encapsulated compon... Read more
October 8, 2020 -
JWT Authentication: How Does it Work?
Part one of a two-part series. A REST API is a wonderful way to expose application data to a wide variety of clients. Anything that can speak HTTP can communicate with a REST A... Read more
August 21, 2020 -
Build a useKeypress Hook in React
One of the great patterns to come out of React 16.8 is composable hooks. Using React's built-in hooks such as useState and useEffect, we can encapsulate and modularize bits of ... Read more
July 1, 2020 -
Single Page Application + REST as an Abstraction: The Benefits of Decoupling Your Front & Back Ends
Monolithic, consolidated applications are not bad. These are your Rails apps, your Django apps, etc. — the ones where your server sends back HTML and assets. You’ve faithfully f... Read more
December 19, 2019