Live Search with React and the WordPress API (P5D39) – Live Coding with Jesse

  • Post comments:1 Comment

Project 5 Day 39: Today we will work on adding a search feature to our React project using the WordPress REST API.

See a professional front-end developer at work. Unscripted. Mistakes included.

Next.js 5:

Project Repo:




Code Editor: Visual Studio Code
VS Code Theme: Seti
Project Management:

Learn to code for free and get a developer job:

Read hundreds of articles on programming:

And subscribe for new videos on technology every day:


This Post Has One Comment

  1. johnselekta

    Hi and thanks for this. I cannot see how you're sending auth headers to WC for the search? I am getting a 401. in axios I use env variables but I'm struggling to find any reference/naming in your code. If you're API is open, how do I send auth headers?

    I know how to do it in axios, but am relatively new to react, just trying to get my head around this way. Thankks in advance.

Leave a Reply