Previously SecretPancake on Feddit

  • 0 Posts
  • 47 Comments
Joined 1 year ago
cake
Cake day: May 19th, 2024

help-circle

  • It helps to avoid the specificity problem. You don’t have to manage a complicated class system, you just set styles directly on the elements. Yes this is pretty much what everyone agreed in the past was the worst thing to do but that was before things like CSS variables existed (which Tailwind uses excessively) that lets you control details like color and fonts from a single point. So you don’t have to go through every component to change the brand color.

    At work we don’t use Tailwind often but in our React apps we mostly use Theme-UI which lets us write regular CSS on each element in a nice JSON format instead of the class name hell that is Tailwind. This is my preferred way.







  • So far the Spigen Smart Fold 2 Magfit Wallet which I don’t like because it’s too bulky and heavy, only fits 2 cards realistically and you can’t get them out easily without unfolding the kickstand. So I don’t use it.

    And the Twelve South Butterfly. It’s beautiful and nice for travel. The night stand configuration is not very stable due to the weak outer magnet but once you learn to be a bit more careful with it it’s ok.

    Nevertheless I plan on buying some solid stands for bedside and home office but haven’t decided yet.

    Otherwise I don’t really know what else to buy. Don’t trust it as a bike mount and don’t need it in the car.













  • There is no latency on static pages. They are rendered once as regular HTML and then saved on the server to be immediately ready for the user. The server is only processing that initial data fetching and rendering once per site. If needed, it can be retriggered. This is great for blogs and other regular pages.

    Server pages on the other hand will do the initial fetch request every time but once the site is there, no data is missing and everything is there. It’s not for everyone. Regular dynamic pages still make sense. For every method there are use cases.

    Disclaimer: I’m speaking from my experience with Next.js which did the same thing long before and React now aims to make that easier. But I’m not sure if React has the distinction between static and server. It’s all new and I haven’t had a project to test it on yet.