Using React Suspense for a Better A/B Testing Experience
I want to take a look at how to use React's Suspense component with Optimizely's A/B testing Javascript SDK.
I want to take a look at how to use React's Suspense component with Optimizely's A/B testing Javascript SDK.
Or, peeling back the layers of marketing to understand when A/B testing does and doesn’t make sense for an organization.
Enabling the Eleventy build process to handle Sass stylesheets isn't too difficult, but I couldn't find one place that documented all the moving pieces you need in your Eleventy config for (what I consider) a production-ready implementation.
It’s nice for app & site designs to have a little variability. Uneveness used with care can communicate a handmade feeling, for example slight waviness instead of perfectly regular lines in a diagram makes it look hand drawn.
I was recently in the process of fixing syntax highlighting on this blog and found I was missing some important tools.
When comparing A/B testing products you'll see claims in marketing material that A/B testing will enable or enhance "data-driven decision making" in your organization.
The "state machine" programming pattern is a great way to refactor code with lots of nested conditionals.
How exactly are TypeScript and React PropTypes related?
THREE.js' ShaderMaterial lets you write your own shader code, but still leverage all the great boilerplate that THREE.js uses internally for its other materials (like StandardMaterial).
Pretty neat!
Webpack can generate hashes for every bundle that it outputs. If you use that hash in your bundle filenames, it gives you a way to safely serve your bundles with long-term cache headers.
If you want to visualize the binary digits of a number in JavaScript, you need to decode the floating point format as you build your string.
A common setup for Express apps is to configure a template engine to handle rendering views. Alternatively, with some help from Babel you can embed JSX directly into your route definitions, no separate view layer required.
Google’s “Optimize Page-Hiding Snippet" is a feature of the Google Optimize A/B testing product. The snippet hides your entire page until Optimize is able to execute any A/B tests you have running.
Google Optimize is a relatively new A/B testing framework that’s designed to integrate well with Google’s Universal Analytics and Tag Manager products. If you’re using Tag Manager and have a custom-named data layer, you might run into some installation errors.
setInterval() and requestAnimationFrame() both let you call some piece of Javascript on a regular interval.
In both, the elapsed time is relative to when your script first starts executing.
Let's look at how you can keep your code in sync with a wall clock instead.
Reading JSON-formatted configuration files into PHP can be a headache, especially when you need to populate default values.
A common pattern in Javascript is the use of options objects to pass multiple parameters to a function.
There's a particular pitfall in how people often implement this useful pattern.
Use this procedure to sort your RGB color palette by perceptual brightness.