DEV Community

Oliver Mensah
Oliver Mensah

Posted on

Pure Class Fields in React Component

With Public Class Fields, you can add instance properties to the class definition with the assignment operator (=). In my opinion, it makes working with Javascript classes clean. I have implemented most of React Native Components with this public class fields. you can check it up here

Top comments (0)