---
title: "Pavan Mehta (@pavanmehta) | Hashnode"
description: "JS Development and Everything in Between. Read the latest articles by Pavan Mehta on Hashnode."
url: "https://hashnode.com/@pavanmehta"
---

@pavanmehta

# Pavan Mehta

@pavanmehta · Ahmedabad, Gujarat, India · Joined May 2016

JS Development and Everything in Between

## Comments

[You could also use rest operator for doing this. const { type, status,\_id, ...rest} = value const details = { \[type\]: { ...rest } } return {...acc, ...details}](https://hashnode.com/posts/how-the-delete-operator-can-be-your-super-saver/5f781a057d160d41227d7273/comment/5f7a72819c3b6e4101217c03)

Comment · Article · Oct 5, 2020 · [How the delete operator can be your super saver!](https://hashnode.com/posts/how-the-delete-operator-can-be-your-super-saver/5f781a057d160d41227d7273)

[If you're talking about hosting the static site, github pages or firebase would be a better option for you. But you can also host it on s3.](https://hashnode.com/forums/thread/react-app-deployment-on-aws/comment/5adde755a316a7517406e275)

Comment · Thread · Apr 23, 2018 · [React App Deployment on AWS](https://hashnode.com/forums/thread/react-app-deployment-on-aws)

[Franz Pouchet Yes they work in exactly the same way as it works with npm. No issues with it.](https://hashnode.com/forums/thread/do-yarn-and-webpack-play-well-together/comment/5a16e672ccec2be146976fb6#reply-5ad08e6cf8e9e3582bbd703b)

Reply · Thread · Apr 13, 2018 · [Do Yarn and Webpack play well together?](https://hashnode.com/forums/thread/do-yarn-and-webpack-play-well-together)

[JS can be weird at times. I wanted to try my hands on Scala and I found it weird because it had too much syntax to remember and the dev has the liberty to follow imperative(OO) or functional approach or both. A good language should enforce things so that very few things remain as best practice. I personally like Python for this very fact. Code won't run w/o indentation and that's how it's.](https://hashnode.com/forums/thread/what-is-the-strangest-programming-language-you-have-used/comment/58c06a12af55484483915374)

Comment · Thread · Mar 8, 2017 · 1 · [What is the strangest programming language you have used?](https://hashnode.com/forums/thread/what-is-the-strangest-programming-language-you-have-used)

[Sublime's license does cost $70 but that does not mean the free version lacks any features. They just pop in a reminder to buy their product.](https://hashnode.com/forums/thread/sublimetext-or-atom/comment/58ab5d25b3cc2b08e3d33288#reply-58ac10fd0d0e040aecb37a9f)

Reply · Thread · Feb 21, 2017 · [SublimeText or Atom?](https://hashnode.com/forums/thread/sublimetext-or-atom)

[question being why? It's hard to convince my colleagues to use single quotes and this way we can't set the ESLint and not get any errors. They're way too reluctant to use double quotes.](https://hashnode.com/forums/thread/should-i-use-single-or-double-quotes-in-javascript/comment/582ec4913fd2d04ce741bf5b#reply-589a7d0df4054275c9f358c6)

Reply · Thread · Feb 8, 2017 · 1 · [Should I use single or double quotes in JavaScript?](https://hashnode.com/forums/thread/should-i-use-single-or-double-quotes-in-javascript)

[I've a habit to use single quotes all along in my JS,JSX files. How do I convince my team to do so. I don't see any obvious advantages? Can you tell me.](https://hashnode.com/forums/thread/should-i-use-single-or-double-quotes-in-javascript/comment/582d85733ccf325de7929845#reply-589a7cb0efb8127bc969c31d)

Reply · Thread · Feb 8, 2017 · 1 · [Should I use single or double quotes in JavaScript?](https://hashnode.com/forums/thread/should-i-use-single-or-double-quotes-in-javascript)

[NPM because I don't think I need YARN as of now](https://hashnode.com/forums/thread/yarn-vs-npm-in-production/comment/5895be5ea225eb57e52f3960)

Comment · Thread · Feb 4, 2017 · 1 · [Yarn vs NPM in production?](https://hashnode.com/forums/thread/yarn-vs-npm-in-production)

[I personally don't hate jQuery at all. It's the only resort if not building any Single page or complex logic app. It's bad to mix jQuery with react though. Following are the possible reasons: It's useless to add jQuery library, it takes time to download jQuery is slower than vanillaJS. Whenever you can use vanilla easily there ain't no need for jQuery.](https://hashnode.com/forums/thread/why-do-reactjs-developers-hate-jquery/comment/5866c5d1ec1fe6a1308f95b9)

Comment · Thread · Dec 30, 2016 · 4 · [Why do ReactJS developers hate jQuery?](https://hashnode.com/forums/thread/why-do-reactjs-developers-hate-jquery)

[I've used both material-ui react and material angular. I also faced the speed issue with material-ui react when I first used it. What you'd be doing wrong is not running webpack in production environment. Development version is usually slow and also shows warnings on console.. Add this line to your webpack.config.js plugins: \[ new webpack.DefinePlugin({ 'process.env': { 'NODE\_ENV': JSON.stringify('production') } }) \], Also read about how to optimize your react app here.. http://moduscreate.com/optimizing-react-es6-webpack-production-build/](https://hashnode.com/forums/thread/material-angular-vs-material-react/comment/58651654b99398bc30c43c5e)

Comment · Thread · Dec 29, 2016 · 1 · [Material Angular vs Material React](https://hashnode.com/forums/thread/material-angular-vs-material-react)
