Open in app

Sign In

Write

Sign In

Yash Sharma
Yash Sharma

54 Followers

Home

About

Jul 17

How to use environment variables in a react Js project

In React.js, managing environment variables is crucial for handling configuration settings, API keys, and other sensitive information across different environments (e.g., development, staging, production). There are various approaches to managing environment variables in a React.js application. Below, I’ll outline a common method using the dotenv package along with Webpack. Install…

Js

2 min read

Js

2 min read


Feb 18

Understanding basics of Typescript generics

TypeScript is a popular programming language that is a superset of JavaScript. One of the key features of TypeScript is generics. In simple terms, generics are a way of writing code that is flexible enough to work with different types of data. …

Typescript

3 min read

Understanding basics of Typescript generics
Understanding basics of Typescript generics
Typescript

3 min read


Sep 13, 2020

Polyfill for Promise.allSettled

Time for a new method to jump in for promises — The Promise.allSettled() method returns a promise that resolves after all of the given promises have either resolved or rejected, with an array of objects that each describe the outcome of each promise. Right now Promise.all is in the proposal state. It is in stage 4 presets. Personally I felt this…

JavaScript

2 min read

Polyfill for Promise.allSettled
Polyfill for Promise.allSettled
JavaScript

2 min read


Aug 28, 2020

Setup your Macbook for Front End Development

A guide to setting up your development environment. — Iterm It is a terminal emulator which has personally helped me a lot. It’s major feature that I like is the split window screen option. Just press cmd+d and it will split the window vertically OR press cmd+d+shift and it will split the window horizontally.

JavaScript

3 min read

Setting up your Macbook for Front End Development
Setting up your Macbook for Front End Development
JavaScript

3 min read


Jul 27, 2020

Javascript, The weird parts— Part 1

Javascript tries to do the best possible thing that it can rather than just throwing errors everywhere People often say JS is confusing because it can evaluate nearly anything and the evaluation might not make sense. Below are few of the things that confuse people majorly. Define constructors with an arrow function let f = function()…

JavaScript

2 min read

Javascript, The weird parts- Part 1
Javascript, The weird parts- Part 1
JavaScript

2 min read


Published in

codeburst

·Jul 14, 2020

Builder Pattern in Javascript — With a Simple Example

From time to time, we may come across a scenario where we want to construct complex objects which involve computing multiple sequential operations. In such a scenario, a builder pattern can be used. A builder pattern is a design pattern that lets us extract the object construction out of its…

JavaScript

2 min read

Builder Pattern in Javascript — With a Simple Example
Builder Pattern in Javascript — With a Simple Example
JavaScript

2 min read


Mar 28, 2018

Host your nodejs application on Heroku

Firstly create your account on Heroku . Create a new application from the dashboard. Install heroku client through this https://devcenter.heroku.com/articles/heroku-cli Then login via the terminal heroku login Run this heroku git:remote -a 'projectName' in your project directory. To deploy , git add . git commit -m “message” and then push your code to heroku server git push heroku master The code is deployed automatically and the server is started on https://projectName.herokuapp.com

Heroku

1 min read

Host your nodejs application on Heroku
Host your nodejs application on Heroku
Heroku

1 min read


Feb 1, 2018

Creating an apk for your react native app with expo client

Expo provides you the fastest way to build an app. With Expo tools, services, and React, you can build, deploy, and quickly iterate on native Android, iOS, and web apps from the same JavaScript codebase. Here are the steps to create an apk Make sure you have an expo module…

JavaScript

1 min read

Creating an apk for your react native app with expo client
Creating an apk for your react native app with expo client
JavaScript

1 min read

Yash Sharma

Yash Sharma

54 Followers

Javascript Developer

Following
  • Adam Silver

    Adam Silver

  • M.G. Siegler

    M.G. Siegler

  • Dan Pedersen

    Dan Pedersen

  • Kartik Arora

    Kartik Arora

  • Lakshman Diwaakar (LD)

    Lakshman Diwaakar (LD)

See all (202)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams