State-Management-with-React-Recoil

React and Recoil for State Management

Alex Cassells Articles, JavaScript, Programming, React 1 Comment

In this blog, Iโ€™ll focus on one tool you might use for State Management, Recoil. First, weโ€™ll look at why State Management is an effective strategy in general. Then, weโ€™ll turn our attention to Recoil, and finally, weโ€™ll dive head first into a demo. By the end, you should have all the tools necessary to begin using Recoil on your own!

Complex Reactive Forms in Angular

Create Complex Reactive Forms in Angular

Todd Leininger Angular, Articles, Development Technologies & Tools, JavaScript, Tutorial Leave a Comment

Recently on a client project, I was tasked with creating an Angular application that contained a form that displayed conditional inputs. In this article, I will walk through the strategy I implemented to accomplish this goal.

My hope is that this blog will give you a starting point for creating your own complex Angular Reactive forms. Let’s get started!

Cancel a React Modal with Escape Key or External Click

Lou Mauget Articles, Development Technologies & Tools, React, Tutorial 1 Comment

Web application users are accustomed to canceling a popup (aka dialog or modal) by pressing the escape key, and many modals can even cancel if the user clicks outside it. How does a React developer code that without a plumbing mess between the modal and every visible component beneath it? How do you cancel a React modal with an escape key or external click?

I’m glad you asked because I have an answer. In this blog, Iโ€™ll show a pair of easy-to-use custom React hooks that simplify the task.

Learn Svelte by Making a Word Puzzle: Part 2, Reactivity

James Slaughter Articles, Development Technologies & Tools, JavaScript, Learning Svelte, Tutorial Leave a Comment

So far in this multi-part series, we’ve used Svelte to make the frontend of a Word Puzzle Game, but it does not receive user input, yet. That doesn’t make for a very fun game!

In Part 2 of this series, we’re going to make our game a little more functional. Weโ€™ll accomplish the following tasks: (1) allow users to guess a word, (2) manage state for the guesses, and (3) track the correctness of each letter in each guess.

By the end of this post, we will be one step closer to having a Svelte-based, fully functional Word Puzzle Game! Without further ado, letโ€™s get started.