Is there a good way to use private variables and methods in React.js

Posted by Andre Scott | Updated on

Is there a good way to use private variables and methods in React.js

If you are using es7, you can define class properties as a private variables like this:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers