Archive for the ‘React’ Category

What Is Snapshot Testing, and Is It Viable in PHP?

Posted on: No Comments
Ah-ha moments are beautiful and rare in programming. Every so often, we're fortunate enough to discover some trick or facet of a system that forever changes how we think of it. For me, that's what snapshot testing is. You probably write a lot of PHP c...

How I Designed & Built a Fullstack JavaScript Trello Clone

Posted on: No Comments
A few weeks ago, I came across a developer sharing one of his side projects on GitHub: a Trello clone. Built with React, Redux, Express, and MongoDB, the project seemed to have plenty of scope for working on fullstack JS skills. I asked the developer, ...

An intro to web components with otters

Monica Dinculescu on web components and why we might care: ... before web components came around, you had to wait on all browsers to agree on a new element (like, a date picker). And even after they agreed on a new element, it took them yeaaaaars to im...

Intro to Firebase and React

Let's take a look at building something using Firebase and React. We'll be building something called Fun Food Friends, a web application for planning your next potluck, which hopefully feels like something rather "real world", in that you can imagine u...

Why Use React JS for Fast Interactive User Interfaces?

Posted on: No Comments
This article is part of a series created in partnership with SiteGround. Thank you for supporting the partners who make SitePoint possible. Nowadays users expect sleek, performant web applications that behave more and more like native apps. Techniques...

Redux vs MobX: Which Is Best for Your Project?

Posted on: No Comments
For a lot of JavaScript developers, the biggest complaint with Redux is the amount of boilerplate code needed to implement features. A better alternative is MobX which provides similar functionality but with lesser code to write. For MobX newbies, take...

How to Scan Fingerprints with Async PHP and React Native

Posted on: No Comments
We live in interesting times. A short while ago, a company called OfferZen announced a new, programmable credit card. It's been a long time since I was this excited to get my hands on a piece of tech. My mind has been brimming with ideas ever since. So...

React Forms: Using Refs

Posted on: No Comments
React provides two standard ways to grab values from <form> elements. The first method is to implement what are called controlled components (see my blog post on the topic) and the second is to use React's ref property. Controlled components are ...