benrosen / pixel-chess

Multiplayer pixel art chess powered by Phaser, React, and AWS.
0 stars 0 forks source link

Determine if user is visiting base url or match url #14

Closed benrosen closed 3 years ago

benrosen commented 3 years ago

Install and configure react-router-dom. Create a context provider HOC that gets the match id from the path and provides it via a context to its children.