I already posted a question here:
but I am afraid that this are two different problems I have and since I really want to come forward with my project and can’t figure out how to solve my rerender problem, I’d like to state the issue here again.
As requested I opened a git repo:
In README.md I describe the issue as problem 2.
Basically it is that my Rectangle is just appearing on a rerender/resize of the browser and I can’t figure out why.
I want that the rectangle appears after first render.
and here is a sandbox of the code:
I hope anyone can help me to figure out what I do wrong.