The Facebook team has released an upcoming plan for React 18 features

courtesy to evening kid

The Facebook team has published the plan for React-18. There are many exciting features that are provided out of the box by React. These are not only enhancing the user experience but also making developers’ lives easier. So, here are the three main features which are going to be released this time.

1. Automatic Batching

Batching is when React groups multiple state updates into a single re-render for better performance.

For example, if you have two state updates inside of the same click event, React has always batched these into one…

How to write polyfill for bind

Photo by Caspar Camille Rubin on Unsplash

Polyfill is essentially back support of methods that our old browser doesn’t have. I will explain how to write a custom implementation of bind which will be supported everywhere. Here is the use-case of the original bind method:

Sheeraz Shaikh

I am Frontend Engineer by profession who loves to code on javascript and aspires to advocate ReactJS tech stack

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store