Topic: Constructor calling two times
rashesh patel asked 5 years ago
Hello,
We are using "SideNav" in our code. The method constructor calling 2 times in all .js file by refreshing any page & fetching data from the server end, code is placed in the constructor method.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Open
- User: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.18.1
- Device: Laptop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented 5 years ago
We have removed the constructor in our code in the previous versions. Did you check it?
rashesh patel commented 5 years ago
Hi Piotr,
From which version construction is not used in MDB React??
Piotr Glejzer staff commented 5 years ago
I'm not sure but that was probably 2 months ago. We changed every construction to state with our eslint config.