Forgot about my favorite featured in Fuse, weighted keys. You can weight keys like this: const fuse = new Fuse(posts, { keys: [ { name: "title", weight: 1.5, }, { name: "description", weight: 1, }, { name: "tags", weight: 2, }, ], }); The weight can be any number. The higher the number, the more that key is weighted in the algorithm.
Dude the timing on this could be better for me. I was looking into using one of the search providers but this looks like the way I’ll go! Thanks and keep up the great content
Hey, awesome! Yeah, it's been sufficient for me. I don't have a lot of intense search needs, but all the more reason to use something lightweight like FuseJS.
@@CodinginPublic hey, I'm still watching this video, you're interrupting me while I'm watching some high-quality content. 😌😜 Nah, man, you're doing really great, that's just the imposter syndrome (quite common in IT), you'll get over it, trust me. 💪🏼
Thank you for a great video. There's one typo on this line in search.js file: Read Post it should be ${****.href}, not ${****.ref} Read Post Please continue your wonderful work.
Forgot about my favorite featured in Fuse, weighted keys. You can weight keys like this:
const fuse = new Fuse(posts, {
keys: [
{
name: "title",
weight: 1.5,
},
{
name: "description",
weight: 1,
},
{
name: "tags",
weight: 2,
},
],
});
The weight can be any number. The higher the number, the more that key is weighted in the algorithm.
Dude the timing on this could be better for me. I was looking into using one of the search providers but this looks like the way I’ll go! Thanks and keep up the great content
Hey, awesome! Yeah, it's been sufficient for me. I don't have a lot of intense search needs, but all the more reason to use something lightweight like FuseJS.
The way you design things is super unique and beautiful!
So glad you enjoyed it!
+1, Chris doesn't realise how great he is in both coding and design!!!
🙏 that’s very kind. I enjoy both but definitely feel a beginner in both
@@CodinginPublic hey, I'm still watching this video, you're interrupting me while I'm watching some high-quality content. 😌😜 Nah, man, you're doing really great, that's just the imposter syndrome (quite common in IT), you'll get over it, trust me. 💪🏼
lol
Great job Chris 👍 We love you 🎉
Glad you enjoyed it!
This is beautifully done! Thanks for the video
Thanks, Alex! That’s very kind. So glad you enjoyed it!
12:25 What tool gives you those hints to commands?
fig (I think it’s fig.io)
Hi are you using any extension for console. Log statements ?
Got it console ninja thanks man
That’s the one! Also Turbo console log for the quick logs.
please make video on js dom manipulation in depth
See other comment :)
Thank you 🎉
You’re welcome!
Thank you for a great video. There's one typo on this line in search.js file:
Read Post
it should be ${****.href}, not ${****.ref}
Read Post
Please continue your wonderful work.
Thanks!