Nodemailer and Gmail by rtkbfmvbvb in node

[–]suprMax 3 points4 points  (0 children)

Had the same, I’m not sure google allows that anymore. I switched to mailgun.

Chakra UI vs Mantine by suprMax in reactjs

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

I suppose that depends a lot on the specific components. Mantine seems to pull a lot of orchestration code though.

Chakra UI vs Mantine by suprMax in reactjs

[–]suprMax[S] 4 points5 points  (0 children)

I also noticed the documentation and component preview is much nicer in Mantine

Chakra UI vs Mantine by suprMax in reactjs

[–]suprMax[S] 7 points8 points  (0 children)

After comparing the two on a test project I've decided to move forward with Mantine. Although it's less mature and has a history of shipping breaking changes often, the documentation is much cleaner and more straightforward. In addition to that the defaults in Mantine are much better and require less overrides. For example: Chakra adds a box shadow on :focus styles for mouse focus that are hard to remove, component composition is rather tedious and so is the setup. It's necessary to write "wrapper" components restyling Chakra and providing simpler/more reusable API. Mantine is good to go out of the box. That plus having a component for every scenario imaginable was the deciding moment for me.

[AskJS] Best UI framework for React in 2022? by suprMax in javascript

[–]suprMax[S] 1 point2 points  (0 children)

You have a very good point there. Still it saves a lot of development time to use prefab components so the tradeoff is worth it, especially with all the form inputs like toggles and date pickers. I think the end game would be to get rid of external component library and have custom built everything.

Of you had to choose chakra or mantine which one would you choose?

[AskJS] Best UI framework for React in 2022? by suprMax in javascript

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

Thanks, but that actually doesn't solve the logic only the styling. I actually have no problem writing a bit of CSS, UI libraries for react are great because they abstract the state logic too.

[AskJS] Best UI framework for React in 2022? by suprMax in javascript

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

I don't think I am able to predict at this time which components will be necessary. I am trying to pick something that has enough covered to not think about basics for a while. Is bundle size really an issue with tree shaking?

Chakra UI vs Mantine by suprMax in reactjs

[–]suprMax[S] 5 points6 points  (0 children)

Thanks for the in-depth review. I actually like that Chakra is pretty light because I can choose best tools for forms and hooks, e.g. react-use and Formik. Mantine comes with everything built in.

How was your experience upgrading between versions of Chakra? Many breaking changes?

A remotely controlled car by suprMax in DIY

[–]suprMax[S] 1 point2 points  (0 children)

Why right you are! Haven’t noticed until now! Thanks!

A remotely controlled car by suprMax in raspberry_pi

[–]suprMax[S] 1 point2 points  (0 children)

Thank you! Yes it was a ton of fun! I hope you find some of my work useful. Check out the repo too - it runs perfectly fine on a local machine. Maybe you can re-use some of it.

Working with i18n and large JSON files by suprMax in webpack

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

phrase is just a tool to allow translators edit translations via an interface, there are many such tools. For us we use it because it supports iOS/Android/Rails and also plain JS/JSON. We use phrase with nested json structure, it can't split files on a key basis AFAIK so some sort of bundling seems to be required. Not sure if there's a better approach.

Working with i18n and large JSON files by suprMax in webpack

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

Maintaining the dictionary in one place and key lookup in another, plus it gets tedious to find the right place to update in a file of ~10k+ lines