At the very beginning of Bereishith/Genesis there is a phrasing of the creation of light which I find to be slightly confusing.
It's stated that God created light. The wording then seems to indicate that upon creating it he saw that the light was good.
וַיֹּ֥אמֶר אֱלֹהִ֖ים יְהִ֣י א֑וֹר וַֽיְהִי־אֽוֹר׃
God said, “Let there be light”; and there was light.
וַיַּ֧רְא אֱלֹהִ֛ים אֶת־הָא֖וֹר כִּי־ט֑וֹב וַיַּבְדֵּ֣ל אֱלֹהִ֔ים בֵּ֥ין הָא֖וֹר וּבֵ֥ין הַחֹֽשֶׁךְ׃
God saw that the light was good, and God separated the light from the darkness.
The way I read this implies that when God was creating this aspect of existence, he did not know the nature of the created's relationship to the world until it had been brought into the world. The idea being is that he was creating each aspect of existence but only when he was "holding it in his hands" (so to speak) was he able to make a determination regarding its nature and relationship to the whole of existence.
First: "God created light.
Then: "God saw that light was good
Has this idea ever been touched upon by the sages or even contemporary Rabbis?