HubSpot / cms-react

A repo to expose CMS react examples, React defaults modules, and more to CMS devs
http://github.hubspot.com/cms-react/
Apache License 2.0
25 stars 15 forks source link

Update getting started example #75

Closed jontallboy closed 1 month ago

jontallboy commented 1 month ago

Update getting started example to use a different API that does not require an apiKey or any setup. Update the readme and associated files to guide devs more clearly on the process and workflow they will experience when developing with CMS React.

With this updated example, we have a different starting point for the Weather module because a part of the README outline is adding a new module field. Now, we start where the module has no data on load and requires a user to enter a city before we fetch any weather data. Then after a dev completes the README setup, they will have added a defaultCity text field and re-connected the fetch on load behavior using the defaultCity as the initial value.

Initial load at beginning of readme initial load after the readme is complete
Screenshot 2024-07-12 at 3 02 34 PM Screenshot 2024-07-12 at 2 57 21 PM