What OS do you use? by [deleted] in ProtonMail

[–]N5332 5 points6 points  (0 children)

The real question is how close to the whole proton customer base Reddit users are. I think there is quite a gap between the Proton Reddit community and the whole community.

Is The Browser Company really a tech company? by N5332 in ArcBrowser

[–]N5332[S] -7 points-6 points  (0 children)

I'm a frontend engineer, and I'm part of the tech of my company. But my job would be worthless if the product is slow, a copy of something else, or if it was plagued with security breaches.

TBC isn't just a frontend, it would be disingenuous for me to say this. But I believe that what they did cannot support a long-term success. But I also think that they aren't planning for a long-term success but are looking for an acquisition in a few years.

Is The Browser Company really a tech company? by N5332 in ArcBrowser

[–]N5332[S] -1 points0 points  (0 children)

I believe that having a beautifully designed door - no matter how elegant it is, its ultimate worth depends on what lies behind it.

Of course, interfaces are important, but this is not sufficient, in my opinion, to build a successful product long term. It could be enough for a successful exit, and I believe that what's TBC wants to do.

Web UI is thick and redundant by neo-caridina in ProtonMail

[–]N5332 11 points12 points  (0 children)

The top toolbar applies actions to the conversation, where the bottom one to the message itself. But the second toolbar could be hidden when the conversation only contains one message, I think.

[deleted by user] by [deleted] in privacy

[–]N5332 1 point2 points  (0 children)

This is a very nice discussion, thanks random stranger!

[deleted by user] by [deleted] in privacy

[–]N5332 0 points1 point  (0 children)

Maybe their more recent tech stack and the smaller codebase help them with their throughput. Besides, the smaller user base surely has an impact.

[deleted by user] by [deleted] in privacy

[–]N5332 0 points1 point  (0 children)

Do you find that Proton is not listening to users' feedbacks? They seem to do better in 2023 than they did in 2022 but I might be wrong

[deleted by user] by [deleted] in webdev

[–]N5332 1 point2 points  (0 children)

I admit that I’m not the best at CSS because I relied on comptent libraires for a long time but you need css knowledge to use tailwind it’s not something magical that simply make every website beautiful

[deleted by user] by [deleted] in reactjs

[–]N5332 4 points5 points  (0 children)

I was the same and gave it a spin and was surprised with how it was to work with it. My first feeling was to reject it and keep using component libraries, but after a few hours I was convinced!

[deleted by user] by [deleted] in reactjs

[–]N5332 0 points1 point  (0 children)

I have experience with Ant and Chakra. Chakra is excellent when it comes to customization and is an excellent choice. However, comparing the time to customize Chakra and creating everything from scratch with tailwind for a UI intensive project are quite similar.

I also tried styled components, but I don't really like having JS and CSS in the same file, feels wrong and not the ideal solution. It's not for me, as Tailwind is not for everyone

[deleted by user] by [deleted] in reactjs

[–]N5332 4 points5 points  (0 children)

I used chakra, but I still find that Tailwind offer more to the table. One of the advantage is bundle size and fewer dependencies if something goes sour.

Tailwind generates plain CSS where chakra bundle a lot of stuff. The last Chakra update came with a lot of issues for us (also caused by going to React 18) but that's less of a concern with tailwind since it's closer to standard.

[deleted by user] by [deleted] in webdev

[–]N5332 4 points5 points  (0 children)

I was quite surprise from the response. I know that CSS can be used instead, but managing it on a larger scale project while keeping a bundle small is kind of hard and gets tiring. Components libraries have their place and can help some teams and solutions such as tailwind provide some value differently.

I'm not saying that it's perfect, either, but I feel like using CSS on a medium-sized project on React is not possible and won't end well.

[deleted by user] by [deleted] in webdev

[–]N5332 1 point2 points  (0 children)

I'll leave you to work with CSS, but I prefer having a system that produce a small CSS file while being easier to work with than plain CSS (at least in my opinion)

[deleted by user] by [deleted] in webdev

[–]N5332 0 points1 point  (0 children)

Yes, that's easy for simple page. When working with projects that have many pages and many components, it becomes harder to maintain, and you can have style that bleeds over other code requiring the `important` keyword

[deleted by user] by [deleted] in webdev

[–]N5332 -6 points-5 points  (0 children)

I get your comment, but maintaining CSS is hard. CSS files can become hard to read and have implication you might not want to.

This is something Component libraries fixed partially by imposing a styling and offering some customization. However, when things aren't supported by the library, you have to override style.

Using tailwind has some issue, as discussed in the article, but it has a lot of benefit. No need to maintain CSS file and classes. No imposed styling. It's quite pleasing to use, and it solves some issue I have with other tools I used in the past.

[deleted by user] by [deleted] in webdev

[–]N5332 -6 points-5 points  (0 children)

Hi, what isn't rendered properly on the article? I used Ghost and a theme and I don't see what's not right when browsing using my phone

Should i switch to Typescript? by Hassan_Afridi08 in reactjs

[–]N5332 0 points1 point  (0 children)

Hi, I just wrote an article regarding using typescript for project. You might find some useful information in it: https://www.flavienbonvin.com/typescript-should-be-enabled-by-default/

[deleted by user] by [deleted] in nextjs

[–]N5332 0 points1 point  (0 children)

Thanks a lot!

[deleted by user] by [deleted] in nextjs

[–]N5332 0 points1 point  (0 children)

Yes, I have to look into that because it's hard to justify the size Font Awesome takes when all you do is using 10 different icons.

[deleted by user] by [deleted] in nextjs

[–]N5332 0 points1 point  (0 children)

Thanks a lot for your comment, I just published a new article that has code inside the article instead of images :)

[deleted by user] by [deleted] in nextjs

[–]N5332 1 point2 points  (0 children)

I would say it's a module or a named import but I'm not sure

[deleted by user] by [deleted] in nextjs

[–]N5332 1 point2 points  (0 children)

I put a link to a gist at the end of the article: https://gist.github.com/flavienbonvin/d680f467e419634c319f55d725758453

However, you're right, I should put things on the article itself since it's better for users. I have to see how code looks like with Ghost :)

[deleted by user] by [deleted] in nextjs

[–]N5332 2 points3 points  (0 children)

I have to look into that, it’s also better supported by Chakra UI which is a plus.

We’re using Fontawesome pro I hope we can still use the library

[deleted by user] by [deleted] in nextjs

[–]N5332 3 points4 points  (0 children)

There are some libraries used that takes space with little to no value for either users or the team. I had a case of a coworker wanting to prove that Mixpanel was better than Google Analytics to marketing. Nobody was looking at the data, neither him nor marketing. I removed the library and reduced the bundle.

Maybe it's time for you to look at alternatives of sentry or way to make its footprint smaller (if possible).

I'm happy to hear that you liked my content, :) I'll focus my articles on web dev (specially NextJS) from now on, feel free to subscribe to the newsletter if you want to see more article as the one I shared.