DEV Community

loading...

Discussion on: Conditionally render react components in cleaner way

Collapse
ms_yogii profile image
Yogini Bende Author

Yeah. That's a good way to optimise when you are dealing with large components! We can modify the enum solutions more creatively to achieve both performance as well as simplicity of code.