Tag: React

Best Practices of React Component

Consider below while designing react component Don’t update state (setState) in render method. Use constructor wisely. If you wish to bind event handlers or methods or initialize state then only use constructor. Do not assign props to state unless you wish to fix the value of state for that component. Plan meticulously if you are…

By admin_manish April 29, 2019 Off