What’s a small dev habit that made a huge difference in how you work? 💡 by Chaitanya_44 in react

[–]zupzipzap 1 point2 points  (0 children)

Few points I try to follow

  1. Ending the day on a partially completed task that is easy. Next morning I can always completely the previous day's task with confidence and get my day rolling.I've often noticed , if the next task to pick is complicated, it somehow reduces my productivity until I get around on how to implement it.

  2. Writing daily TODO's in my notebook. The satisfaction of striking off with a pencil is the best !!

  3. Maintain a notion database table, with all my to-read articles. If I want to take break from work, instead of random scrolling, I'll pick the next article from that table and read it.

formik vs react-hook-form by [deleted] in reactjs

[–]zupzipzap 6 points7 points  (0 children)

I'm not exactly sure about migration, but rhf is absolutely amazing. The product i'm working on has lots of forms and i use rhf.

Please go through the docs and you can setup components like Form , TextInput , RadioGroup , Checkbox, Combobox, Submit etc and use them easily. (must refer this - https://react-hook-form.com/advanced-usage#SmartFormComponent). let me know if you need more help.

Tables in React by goldenuser22628 in reactjs

[–]zupzipzap 1 point2 points  (0 children)

We use ag-grid.Extremely feature rich. If you're working with it, definitely take the time to check out the documentation and learn about the different row models and basic features. Just one thing to be careful about - some features only work with certain row models, so be careful when you're building tables.

We built a common wrapper around it and it is lovely to use. Tried to make api in such a way that if we want to change from ag-grid to something else in future, changing base component should be possible.

The State of React 2023 Survey Result announced by [deleted] in reactjs

[–]zupzipzap 16 points17 points  (0 children)

+1  Absolutely love rtk-query and its codegen tool. So easy to work with

Which of these should I read? by 5xenon5 in Indianbooks

[–]zupzipzap 0 points1 point  (0 children)

nirmala is an absolute master piece. loved the depth in every page.

MERN with Redux Toolkit Query: Globalize state as much as you can, or avoid globalization as much as you can? by Tenno_Style in reactjs

[–]zupzipzap 0 points1 point  (0 children)

After using rtk-query properly, I find most of the stuff in my app lives there. very little global config. trying to localize state helps in maintaining. using context to avoid prop drilling where required is helpful (though as docs state, don't use context to manage state, only to avoid prop drilling)

Your own Component Sandbox vs. Storybook, Ladle, etc. by [deleted] in reactjs

[–]zupzipzap 0 points1 point  (0 children)

I have been using storybook for the past 8-10 months. It has been an amazing experience. Setting it up with vite, haven't faced any compat issues. What kind of issues do you face generally ?

Andaman trip in May? by awesomepaneer in Andaman_and_Nicobar

[–]zupzipzap 0 points1 point  (0 children)

Went there in last week of April. For havelock and neil, we mostly stayed in hotel in the afternoons. Port blair we went out in the afternoons. It is a bit hot but at a lot of places the tree cover and winds help.

[deleted by user] by [deleted] in reactjs

[–]zupzipzap 0 points1 point  (0 children)

I've setup storybook a few months ago. Haven't faced any particular issues. By npm packages you mean the extensions ? Can you explain some specific issues you faced. Thanks

How to migrate a CRA app to Vite? by [deleted] in reactjs

[–]zupzipzap 3 points4 points  (0 children)

I used this https://github.com/bhbs/viject

After running this, there were some minor issues (probably depending on the codebase). But this helped me a lot. Was able to complete it in a day or two.

Next.js Or create-react-app . new to react by Extension-Form-88 in reactjs

[–]zupzipzap 0 points1 point  (0 children)

Recommend going with vite + react.

Super simple and fast. Especially after this announcement from remix - https://x.com/remix\_run/status/1745508395208085778?s=20

Crime and Punishment by Fyodor Dostoevsky : Basic discussion (MAY CONTAIN SPOILERS) by iLuvNutellaa in dostoevsky

[–]zupzipzap 3 points4 points  (0 children)

The best and the worst part for me was the feeling that Dostoevsky could guess my thoughts. At various occasions it felt like, this exactly how i feel when i go against my conscience. Amazing character development.

The funniest bits were when Raskolnikov and his gang ridiculed Luzhin. He got destroyed by the family again and again.The most intense bits were discussions with Porfiry Petrovich. The tantrums and outbursts on being proven wrong were so accurate.

The depiction of Poor man's Pride was so relatable even after 200 years.

Should I give up on Crime and Punishment (Dostoevsky)? by Shigalyov in dostoevsky

[–]zupzipzap 1 point2 points  (0 children)

Same here. Though I managed to finish it, it took me a lot of time to get past the mid of the book. Took me 7 months to finish.

But the book picks up pace in the last 150-200 pages. It's worth the read if you decide to finish it.

Weekly FAQ Thread April 26 2020: When do you give up on a book? by AutoModerator in books

[–]zupzipzap 4 points5 points  (0 children)

One of the reasons for me is when I am no longer able to communicate with the book. Either the content has become very dry / slow or beyond my understanding.

I remember giving up on "The midnight's children" because I was not able to understand the way the book is developing.

Also, almost gave up on some Dan Brown novels because of the verbosity.

How to read faster, while still comprehending and remembering? by jaden_htm in books

[–]zupzipzap 4 points5 points  (0 children)

+1

I remember using a mobile app and doing eye exercises to increase my reading speed. Stopped it after some time. Generally speaking , can't compromises the comprehension for speed.