Sergio Pedercini·Jul 28, 2025The Hidden Cost of Object Props in ReactReact is a extremely flexible lib, but that flexibility can also hide pitfalls that bite you later, especially when it comes to…
Sergio Pedercini·Dec 16, 2019Build a simple responsive modal with React and JSS (updated with Hooks).It’s been over than 2 years from the original version of this article and both React and JSS API had some great improvements. This new…
Sergio Pedercini·Sep 23, 2019Extend Create React App with AirBnB’s esLint config, Prettier, Flow and React Testing Library.If you want a ready to go React boilerplate, Create React App is great, but it lacks of some useful features. Let’s see how to add them.A response icon3A response icon3
Sergio Pedercini·Nov 21, 2017Compute an arbitrary color for user avatar starting from their username (with Javascript).Working on a javascript web application, it happened they asked me to assign to each user Avatar a background color, to identify the user…A response icon3A response icon3
Sergio Pedercini·Sep 13, 2017Build a simple modal window with React and JSS.NOTE: if you like this article, you’ll probably want to read the updated version with React Hooks and JSS 10!A response icon9A response icon9
Sergio Pedercini·May 17, 2017How to code a responsive circular percentage chart with SVG and CSS.For a web application I needed to create a percentage circle chart. I chose an implementation with SVG and CSS: flexible, cross browser and…A response icon23A response icon23