Putting it all together

You can check out the example covered in this article.
If you want something simpler,
see what the simple Counter app looks like when
built with provider.

By following along with these articles, you’ve greatly 
improved your ability to create state-based applications. 
Try building an application with provider yourself to 
master these skills.

Ephemeral versus app state

List of approaches