Posts for February 2020


React - Alert (Toaster) Notifications

A simple tutorial & example on how to setup alert / toaster notifications in React using RxJS and Bootstrap.

React - How to add Global CSS / LESS styles to React with webpack

The below steps show how to quickly add a global LESS / CSS stylesheet to your React application using Webpack.

React + Formik 2 - Form Validation Example

Quick example of how to setup form validation in React with the Formik 2 library. Includes validation for email, required checkbox and password/confirm password matching.

React + Formik - Required Checkbox Example

This is a quick example of how to implement a required checkbox field in React with Formik using the Yup object schema validator.

Connect to remote MongoDB on AWS EC2 simply and securely via SSH tunnel

To connect to a remote MongoDB server running on AWS EC2 that only allows local connections you can use an SSH tunnel, also known as SSH port forwarding.
Last updated:

React + Fetch - HTTP POST Request Examples

A quick set of examples to show how to send HTTP POST requests from React to a backend API using fetch()
Supported by