React

Query Mutations you own this product

This project is part of the liveProject series A Directory with React
prerequisites
React Query basics
skills learned
display employees’ existing badges • provide a button to add a new badge • send an update to the server when a new badge is added • refresh the data on the page to show the new badge
Bonnie Schulkin
1 week · 4-6 hours per week · INTERMEDIATE

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

It’s your fourth week with SongRiver, a music-streaming web platform whose success is climbing the charts. Beta testers for the employee directory app you’ve been building are singing your praises, and they have a new request: they’d like to celebrate employees with badges that spotlight their contributions. You’ll use Chakra UI to create a grid of employee badges and add badge information to the employee page. Using React Query, you’ll add functionality for sending badge data to the server, then display a “toast” (pop-up) message that communicates whether or not the badge submission was successful. When you’re done, you’ll have a people-pleasing, connection-boosting feature that adds and displays employees’ badges, and you’ll have earned a “Rock Star” badge of your own.

This project is designed for learning purposes and is not a complete, production-ready application or solution.

book resources

When you start your liveProject, you get full access to the following books for 90 days.

project author

Bonnie Schulkin

Bonnie Schulkin is the author of many popular Udemy courses on React topics. Her experience includes various roles at software companies large and small, and she’s been writing code professionally since the 1990s. She’s proud to mentor students at the Hackbright Academy coding boot camp and serves on the board of the Africa Code Academy.

prerequisites

This liveProject is for web developers with some React and React Query experience who want to explore React Query's mutation tools. To begin these liveProjects you’ll need to be familiar with the following:

TOOLS
  • Intermediate JavaScript
  • Intermediate HTML
  • Intermediate CSS
  • Intermediate React
  • Basic React Query
TECHNIQUES
  • Use React Query select option to transform data after fetching from the server
  • Send data updates to the server using the React Query useMutation hook
  • Refresh page data and reflect updates using the React Query onSuccess callback
  • Web UI Design (using React components from Chakra UI)
  • Display and hide a form using a modal

you will learn

In this liveProject, you’ll learn to use React tools to create an interface for adding and displaying individuals’ badges.

  • Use Chakra UI to create a grid of employee badges and a modal interface for adding badges
  • Send badge data to the server using React Query useMutation
  • Refresh the data on the page to show the new badge
  • Show and clear error messages

features

Self-paced
You choose the schedule and decide how much time to invest as you build your project.
Project roadmap
Each project is divided into several achievable steps.
Get Help
While within the liveProject platform, get help from other participants and our expert mentors.
Compare with others
For each step, compare your deliverable to the solutions by the author and other participants.
book resources
Get full access to select books for 90 days. Permanent access to excerpts from Manning products are also included, as well as references to other resources.

choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Query Mutations project for free