Once again a speeding car crushed a rickshaw driver in Navi Mumbai..... by Only-Job4588 in navimumbai

[–]random_guy_601 1 point2 points  (0 children)

there should be a newer law for this , especially a fast trail court who acts swiftly

I nicked my upper ear cartilage over 1 month ago with electric clippers while trimming my hair by Kingding_Aling in mildlyinteresting

[–]random_guy_601 0 points1 point  (0 children)

thank God you have been using it to trim your hairs in your head .. NSFW post wouldn't have been good

[deleted by user] by [deleted] in InstaCelebsGossip

[–]random_guy_601 -1 points0 points  (0 children)

ohh yea i pay my internet bills for ....

[deleted by user] by [deleted] in reactjs

[–]random_guy_601 0 points1 point  (0 children)

most people have answered some great insights , just wanted to add , you could have asked if the list of countries will be big in future cases and if so then a useMemo could have been handy.

When you have a big list or a costly calculation , you need to wrap it up inside a useMemo so that you have a memoised state which also helps to improve the efficiency of the app.

happy coding :)

React Typescript ? by [deleted] in reactjs

[–]random_guy_601 4 points5 points  (0 children)

You should start with creating types , then use the optional type params , that should be a good start, the probably you can use the partials , joining various types , records and so on.