---
title: "Posts — Tips &amp; Tricks | Hardeep Kumar"
canonical_url: "https://hardeepkumar.in/learning/tips"
last_updated: "2026-04-27T11:41:37.116Z"
meta:
  description: "Short tips, tricks, and productivity hacks for developers and designers."
  "og:description": "Short tips, tricks, and productivity hacks for developers and designers."
  "og:title": "Posts — Tips & Tricks | Hardeep Kumar"
---

$ ls -la learning/tips/ # **<Tips & Tricks /> ** // Short tips, tricks, and productivity hacks for developers and designers.[0posts]$ node --eval'inspectTopicPosts()'```
await queryCollection('blog')
``````
  .where('type', '=', 'post')
``````
  .where('topicId', '=', 'tips')
``````
  .all()
``````
[]
``````
NotFoundError: **404**
          — empty result; no rows for this topicId. Nothing to render.
``` // posts.length === 0 → no children mounted; query OK, result set empty