by MaxLeiter on 3/1/24, 9:41 PM with 3 comments
by chatmasta on 3/1/24, 11:27 PM
The example code is confusing me, because there is a `render()` method that references both `<Weather>` and `<Spinner>`, but neither of these JSX components are imported into the script. (In fact, `getWeather()` isn't defined, either.) Is that the part I'm missing? The LLM will just see these component references and know how to render them? Or is the codeblock wrong? Because this is technically invalid syntax (reference to undefined).
by MaxLeiter on 3/1/24, 10:31 PM
tip: have your network tab open so you can inspect the responses as components stream in