I have a function component, and I want to force it to re-render.
How can I do so?
Since there\'s no instance this, I cannot call this.forceU
Disclaimer: NOT AN ANSWER TO THE PROBLEM.
Leaving an Important note here:
If you are trying to forceupdate a stateless component, chances are there is something wrong with your design.
Consider the following cases: