So, let's get it started ! Our App will be able to spin multiple tables and each Table will have multiple Hands displaying stacks of Cards playing with the dealer Hand.
React is a UI library developed to facilitate the creation of interactive, stateful & reusable UI components. The full annotated source include extra examples (Mixins, CSS in JSX. Before you proceed fork/download the source code for the final blackjack application, at our repository.
Note: There’s code fragments sprinkled throughout this post. Make sure you got through the idea of Thinking in React, we'll be building a Blackjack App completely operational but simplified for the sake of brevity. React is only the VIEW LAYER and that's what we'll cover with this article. This guide is a fast paced tutorial but the annotated source code covers all the basic concepts as well as some of the confusing gotchas. If you have used React, but you've run into some confusing edges or are tired of the same meaningless tutorial examples, then you're in the right place. If you haven't used React at all, you're not in the right place.