Open in app

Sign In

Write

Sign In

Suraj Sharma
Suraj Sharma

2 Followers

Home

About

Aug 16, 2020

How to build a dark mode theme in React Material UI

Created a Context API to switch between light mode and dark mode Introduction React Material UI is a material design library built using React js that also supports Typescript. Material UI has many UI components with working examples that make react developers life eaiser when they start integrating material UI components…

Reactjs

4 min read

How to build a dark mode theme in React Material UI
How to build a dark mode theme in React Material UI
Reactjs

4 min read


Aug 21, 2019

JavaScript- Why You Should Use Array.prototype.includes() over Array.prototype.indexOf()

JavaScript- Array.prototype.includes() vs Array.prototype.indexOf() Adinclude() method over indexOf() method in javaScript Array.prototype.includes() method was introduced in ECMAScript 2016 (ES7). This method is for determining whether a given element exists in an array or not. It returns true if first occurrence of the element is found in the given array else returns false Array.prototype.indexOf() method…

JavaScript

3 min read

JavaScript- Why You Should Use Array.prototype.includes() over Array.prototype.indexOf()
JavaScript- Why You Should Use Array.prototype.includes() over Array.prototype.indexOf()
JavaScript

3 min read

Suraj Sharma

Suraj Sharma

2 Followers

A Full Stack Web Developer

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech