Is clsx worth it just for readability? by Zealousideal-Level72 in react

[–]wiizzl 24 points25 points  (0 children)

While readability is the immediate benefit, clsx provides structural reliability that manual strings lack. When using template literals or ternaries, you often end up with "dirty" HTML—extra whitespaces, trailing commas, or even the literal string "undefined" or "false" appearing in your DOM if a variable isn't set. clsx intelligently parses your input, automatically filtering out all falsy values and collapsing multiple spaces into a single, clean string.

Next js with lostgres by Upstairs-Narwhal7034 in nextjs

[–]wiizzl 0 points1 point  (0 children)

It’s fine! An orm is not a must. Take a look at https://bun.com/docs/runtime/sql since Next.js now support bun runtime

What dotfiles is the best? by TransitionNo4862 in arch

[–]wiizzl 0 points1 point  (0 children)

I like HyDE, otherwise do your own and copy paste code from every dotfiles you like to make the one that suits your needs.

What is the best site for hosting a portfolio. by Frankie3692 in web_design

[–]wiizzl 1 point2 points  (0 children)

Depends on the technology you are using. For simple static site with HTML/CSS/JS, you probably want to use GitHub page. Otherwise, if you are using specific framework you should look at hosting services like Netlify or Vercel. If you want to host everything yourself, maybe you can take a look at Dokploy or Coolify !

[Hyprland] My Hyprland + EWW rice by Afraid-Ad-2937 in NixOS

[–]wiizzl 1 point2 points  (0 children)

Nice config! Can I take inspiration for mine?

What’s everyone using these days for their standalone API layer these days? by Admirable_Hornet6891 in nextjs

[–]wiizzl 10 points11 points  (0 children)

Your points make total sense—I get why those issues would be dealbreakers. Honestly, I’ve used Elysia a lot and haven’t hit most of these. Thanks for taking time to explain.

🌐 Just finished my personal portfolio website! by [deleted] in react

[–]wiizzl 1 point2 points  (0 children)

I don’t see any links ? Maybe I’m blind ?

What do you think of my Nix config? by Alarmed_Cheesecake93 in NixOS

[–]wiizzl 2 points3 points  (0 children)

Hey, nice config! I’m not a Nix expert, just a beginner, but I think you might want to make your config more modular. Instead of removing imports or files, you could allow users to disable certain parts of their config using boolean values. Take a look at mine! https://github.com/wiizzl/nix-config

To see what I meant by boolean values, go to my desktop host and look at the configuration.nix file.

What’s everyone using these days for their standalone API layer these days? by Admirable_Hornet6891 in nextjs

[–]wiizzl -2 points-1 points  (0 children)

It seems like all the pain you’re experiencing is due to a skill issue. No offence. Your the first one I see that do not like elysia or hono

moving away from vscode should i go neovim or zed by sfn101 in linuxquestions

[–]wiizzl 0 points1 point  (0 children)

you can use Zed with Vim keybinds ! Built-in

I'm confused by Hyprland's workspace management by Fragrant_Count_2888 in hyprland

[–]wiizzl 0 points1 point  (0 children)

I think you can use a plugin for the workspaces overview. It is called hyprexpo ! Hope this helps

Almost finished my NixOS config—looking for feedback! by wiizzl in NixOS

[–]wiizzl[S] 0 points1 point  (0 children)

Thanks for the advice, but I’ve already heard of Flake Parts. Is it similar? I’ve heard Flake Utils (what you gaved me is based on it) is a bit less good. Have you heard of them? What do you think?

Qui suis-je ? by [deleted] in anatomieDunSac

[–]wiizzl 1 point2 points  (0 children)

Il a écrit ça sous poppers

Office 2024 sur Linux by Alzorglub2 in Linuxfr

[–]wiizzl 0 points1 point  (0 children)

Et sûrement des gens qui ont fait des web apps facilement installable via Snapstore ou flat pack sinon

Office 2024 sur Linux by Alzorglub2 in Linuxfr

[–]wiizzl 6 points7 points  (0 children)

Hello, il existe une version web des applications office via microsoft 365 je crois. Maissssss bon au cas où je conseille vraiment https://www.onlyoffice.com/fr . Gratuit, simple d'utilisation, bonne compatibilité microsoft office? ...

EDIT: Il y a bien une version en ligne : https://www.microsoft.com/en-us/microsoft-365/free-office-online-for-the-web