A first take on documentation of components in Choo and the new component cache. I wasn't sure about how much detail to go into about the component API seeing as nanocomponent has some excellent docs of its own. Also, I'm not 100% sure it's the best idea to drag in mapbox and and the geolocation API in the example but seeing as the text speaks of 3rd party libraries, it made sense to illustrate that. Maybe the nanocomponent button example or something like that would suffice?
Would very much appreciate feedback from @yoshuawuyts, @bcomnes and @s3ththompson as they were instrumental in brining this into Choo.
Resolves #662
A first take on documentation of components in Choo and the new component cache. I wasn't sure about how much detail to go into about the component API seeing as nanocomponent has some excellent docs of its own. Also, I'm not 100% sure it's the best idea to drag in mapbox and and the geolocation API in the example but seeing as the text speaks of 3rd party libraries, it made sense to illustrate that. Maybe the nanocomponent button example or something like that would suffice?
Would very much appreciate feedback from @yoshuawuyts, @bcomnes and @s3ththompson as they were instrumental in brining this into Choo.