Open in app

Sign In

Write

Sign In

Isaiah Thomason
Isaiah Thomason

4 Followers

Home

About

Feb 22, 2022

Do You Really Need React State to Format Inputs?

As I’ve said in another article, it’s more than possible to handle forms in React without using state. But what about formatted inputs? Let’s say I have an input that’s intended to take a person’s phone number (or some other meaningful numeric value). …

React

8 min read

React

8 min read


Published in Better Programming

·Feb 22, 2022

You Don’t Need All That React State in Your Forms

Did you know that it’s possible to handle forms using just pure HTML and JavaScript? — It’s very common for frontend applications to include some kind of form. Unfortunately, when it comes to React applications specifically, I often see people building out forms with an unnecessarily high number of controlled inputs. This typically adds more complexity to the form without affording any real benefits. I used…

React

8 min read

You Don’t Need All That React State in Your Forms
You Don’t Need All That React State in Your Forms
React

8 min read


Oct 27, 2020

Writing Integration Tests for WebSocket Servers Using Jest and WS

WebSockets are very useful for ongoing communication between a client and a server. They’re simple to use in nature, but they’re not so simple when it comes to writing tests. This is because WebSockets are event-driven and have no promise-based API. For instance, maybe you want to test that your…

Jest

16 min read

Jest

16 min read

Isaiah Thomason

Isaiah Thomason

4 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech