How can you force a React component to re-render without updating its state or props?

how to re-render the component without changing the react state or props

I’ve attempted the following in a functional component:

1.Using the useState hook and updating state with the same value

2.Creating a new object as a prop to try to trigger a re-render

3.Using useReducer with a dummy state update

None of these methods feel like the right approach, and some seem to go against React’s principles.