Let's validate usernames in real time and create a blacklist of NSFW and other names we don't want to allow.
You need to subscribe to get full access to the video and lesson content.
Join 4.3K+ learners from companies like Shopify, Microsoft, Tiktok, AppSumo and Instacart.
In this lesson, we'll enhance the create link page component by adding real-time validation for usernames. We'll implement inline checks, a blacklist of forbidden terms, and ensure uniqueness.
We'll use AI to help us modify the component to include:
After implementing these changes, we tested the validation:
We made additional enhancements to the validation:
Subscribe now to get full access to the lesson content.
Get started →