Sidharth Nairrizzsid.hashnode.dev·Jun 19, 2023Say Goodbye to UI Rendering Issues with useRef: A Step-by-Step Guide to Dynamic Column Addition in Material UI Datagrid.Problem So you've built a Material UI data grid and want to dynamically add columns from an API response. You fetch the data, update state with the new columns, but the UI doesn't change. Frustrating! This is because you're using useState, which caus...ReactAdd a thoughtful commentNo comments yetBe the first to start the conversation.