Can you force a React component to rerender without calling setState?
I am currently working on a React component. I need to force a rerender without changing the state using setState. My component's dependency is on some external data or other factors, and I want to force this rerender manually whenever anything changes, but it shouldn't change the state. Is there some way to force it by any means, or am I supposed to do so by following some best practices in such cases?