Yesterday, I talked about getting started with adding restorable randomness to a Redux app. Today I’ll cover using the PRNG in “fat” reducers to isolate the presence of rngState from the majority of the code.
This is the first post in a series about adding restorable randomness to a Redux app. In it, we will cover what I mean by restorable randomness, why you might want it, and some code to generate restorable random values.
Publication of the Agile Manifesto in 2001 turned the software development world on its head. Waterfall, with its months of comprehensive planning followed by months of heads-down development, was out; Agile was in. The Agile Manifesto lays out its values and the principles behind them, but it avoids defining a process. And this is good. […]
Input fields are some of the most fundamental aspects of any application, and front-end validation is expected these days. Unfortunately, doing even simple validation is often more complicated than many clients expect.
Wednesday morning, I pulled out my phone to Slack my team and let them know I was running late. At first glance, Slack seemed to be missing. I scrolled through my app list twice before finally locating it. When I got in to work, office chatter was about Slack’s new logo, with everybody asking, “Have […]
Every application needs to handle a couple of tasks: loading initial data for users and determining what page or screen they land on. Despite being order-dependent, this logic is often scattered into various parts of the application. This can lead to subtle bugs and makes it hard to answer simple questions like, “What will the […]
Redux is a powerful tool for structuring front-end logic, and Redux Thunk extends its capabilities to support asynchronous actions in a simple way. However, without a clear, consistent, and reusable pattern to follow, it’s easy for a team to write Thunk actions in different ways and add mental strain to understanding the codebase.
Recently, Google started allowing developers to create custom sticker packs for Gboard on Android. In case you’ve never heard of Gboard, it’s Google’s latest virtual keyboard. Available on both iOS and Android, Gboard is an all-in-one keyboard that includes glide and voice typing, a predictive word engine, and stickers. It is also the built-in keyboard […]
It’s well understood that unit tests alone may not be sufficient to release new code with confidence. Integration/functional tests are used to automate testing for workflow regressions. As part of setting up a new Java REST API server, I wanted to embed integration testing into our regular workflow via Gradle.