← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 160
  1. I got tired of writing if-else statements to validate the HTTP request like this: ```tsx:route.ts showLineNumbers export const GET = async (request: Request) => { const { searchParams } = new URL(request.url) const name = searchParams.get('name') if (!

  2. React just released the new version 19.2.0 which brings several new features including the new [useEffectEvent](https://react.dev/reference/react/useEffectEvent) hook.

  3. Just updated my open source React hook [useResettableActionState](https://github.com/nicnocquee/use-resettable-action-state).

  4. Taming React Component

    As a project grows, the codebase inevitably becomes more complex.

  5. Monorepos have come a long way since the days of Lerna.

  6. Introducing DataQueue

    There are so many ways to run a long-running process in the background when you use modern React frameworks like Next.js, Remix, etc.

  7. Ever since Next.js supported React Server Components, I've been using them in my projects.

  8. Our [company's website](https://hyperjump.tech/en?

  9. One of my pet peeves with testing in web development is mocking.

  10. In the last post, I wrote about [Async Local Storage](/blog/async-local-storage-to-prevent-props-drilling) and how it can be used to prevent prop drilling in Next.js Route Handlers because it acts like context in React.

  11. When a private API endpoint is called, the handler should check if the request came from an authorized user before doing anything else.

  12. Handling date and time correctly in your fullstack JS web app is pretty tricky and can cause a subtle bug. ## The problem This just happened to me.

  13. I recently stumbled upon the term "vibe coding" through TikTok videos.

  14. A few days ago I wrote about how to [deploy Bluesky Later on your own server using Coolify](/blog/how-to-deploy-blueskylater-using-coolify).

  15. ## Back story In the company I work for, we use [GitHub Projects](https://docs.github.com/en/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects) to track our work.

  16. A few months ago I released an open source project called [Bluesky Later](https://blueskylater.com) which is a web app that allows you to schedule Bluesky posts.

  17. In the company I work for, there are some team members who wanted to be notified when a new release is deployed to production.

  18. A few articles ago I wrote about using [useSyncExternalStore to write, read, and react to changes in the local storage](/blog/ssr-friendly-local-storage-react-custom-hook).

  19. This post is just a quick reminder of how to generate subtitles from video using [subtitles-generator](https://github.com/avivharuzi/subtitles-generator) in a single command.

  20. Unless you have been living under a rock for the past few days, you surely have heard about the US election.

  21. Recently we needed to implement a system where a user can do the following by themselves: - Request for a first-aid card replacement. - Cancel their course enrollment. - Reschedule their course enrollment.

  22. I've been using LLMs for the past few months and I can't imagine going back to the old way of writing code.

  23. Feature flags are a great way to manage feature toggles in your application.

  24. ℹ️ This is a guest post by my awesome fellow dev in [Hyperjump](https://hyperjump.tech/en?

  25. Recently I was tasked with updating a minor change in [Hyperjump Technology's website](https://hyperjump.tech/en?

  26. Some people seem to hate the file-based routing in Next.js.

  27. import { Alert } from '@/components/ui/alert' Update: Use my [useLocalStorage hook](https://github.com/nicnocquee/use-local-storage) for convenience.

  28. In Next.js App Router, you can get the current URL's query string by using [`useSearchParams` hook](https://nextjs.org/docs/app/api-reference/functions/use-search-params).

  29. I wrote before about how easy it is to create [infinite scroll with server action and useActionState in Next.js](/blog/infinite-scroll-with-server-action-and-use-action-state).

  30. If you haven't read it, Next.js has updated their docs [Authentication and Authorization](https://nextjs.org/docs/app/building-your-application/authentication).

  31. Let's imagine we want to show a list of posts.

  32. Vercel is well known for deploying Next.js apps.

  33. One of the very common user interaction in a web application is calling an API end point where data mutation is performed when a button is clicked.

  34. Imagine you allow a user to make a purchase of a service or product.

  35. Prisma has just announced a new feature in v5.19.0: [TypedSQL](https://www.prisma.io/docs/orm/prisma-client/using-raw-sql/typedsql).

  36. A few weeks ago, I wrote a [guide on how to deploy React Native iOS app to TestFlight from Azure DevOps pipeline](/blog/how-to-deploy-react-native-ios-to-testflight-from-azure-devops-pipeline).

  37. I was just wondering if it's possible to add a comment on a table and column in Postgres.

  38. I was curious if it's possible to create a small app entirely by AI.

  39. When you develop an iOS app, Android app, or a cross-platform app using React Native in a company, there is one thing you need to implement as soon as possible to save you tons of troubles in the future: **the CI/CD (Continuous Integration/Continuous Depl…

  40. In [the last blog post](/blog/memory-issue-in-javascript-and-closures) I discussed about a subtle memory issue in JavaScript and how I found out that `setTimeout` can accept more than two arguments.

  41. Recently, I came across an interesting blog post by Jake Archibald titled [Garbage collection and closures](https://jakearchibald.com/2024/garbage-collection-and-closures) where he shows how mishandling closures can lead to memory leaks.

  42. Few months ago I wrote about [how to populate a Postgres database quickly using `generate_series` function](/blog/populate-postgres-fake-data).

  43. Few months ago I wrote about [how you can have cron jobs in Postgres using pg_cron](/blog/cron-job-with-postgres).

  44. In real world applications, having a way to run tasks, operations, or jobs in the background is inevitable.

  45. A month ago I wrote about [how to deploy a Next.js app that connects to Postgres with Prisma via Coolify](/blog/how-to-deploy-next-js-prisma-postgres-using-coolify).

  46. One thing I wish I had done when I was younger is write more.

  47. If you've been following my blog for a while, you might notice that I'm a big fan of React Server Components (RSC) in Next.js.

  48. Some developers sometimes complain when their colleagues hold back their pull requests because they request some variable name changes.

  49. While I personally enjoy using the Next.js App Router, many don't share my enthusiasm.

  50. When I was playing with Coolify, for no particular reason I wanted to create a user in my Ubuntu server that only had access to SFTP.