<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Advent-of-Vue on Vue Templates</title><link>https://www.vuejstemplates.com/author/advent-of-vue/</link><description>Recent content in Advent-of-Vue on Vue Templates</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://www.vuejstemplates.com/author/advent-of-vue/index.xml" rel="self" type="application/rss+xml"/><item><title>2022 Gift Search Bar</title><link>https://www.vuejstemplates.com/theme/advent-of-vue-2022-gift-search-bar/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://www.vuejstemplates.com/theme/advent-of-vue-2022-gift-search-bar/</guid><description>&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>Advent Of Vue is a series of 24 Vue coding challenges that are sent out every day from December 1 to December 24 via a dedicated newsletter. The challenge for this specific day is to build a debounced search bar for products from DummyJSON&amp;rsquo;s product API. The debouncing technique allows delaying the execution of a function until a specific amount of time has elapsed since the last call. The solution should include adding a 300-millisecond delay to the findProducts function, displaying a loading spinner/message, and showing the suggested products&amp;rsquo; names and price tags in an unordered list if the function executes successfully. If there is an error, a generic error message should be shown using native alert(). If the search term is reset to an empty string, the search suggestions should also be cleared.&lt;/p></description></item></channel></rss>