ameerthehacker / blazepack

⚡ Blazing fast dev server powered by sandpack
GNU Lesser General Public License v3.0
234 stars 17 forks source link

refactor: use object to pass arguments #7

Closed jyash97 closed 3 years ago

jyash97 commented 3 years ago

Why?

If we take a look at the function call, we are passing true which is unclear for what value we are passing true. With object as argument, we can know that true value is assigned for starting the server.