Because all room URLs right now are of the form
fourhands.jminjie.com/#<roomcode>
when users directly try to navigate to another room using another url
fourhands.jminjie.com/#<anothercode>
it doesn't do anything on the first attempt. This is due to how hash is treated in browser, usually as a heading on the same page.
One solution to this:
- Have a main page with a "Create room" button
- The button takes you to a page like fourhands.jminjie.com/ (no hash)
Because all room URLs right now are of the form
fourhands.jminjie.com/#<roomcode>when users directly try to navigate to another room using another url
fourhands.jminjie.com/#<anothercode>it doesn't do anything on the first attempt. This is due to how hash is treated in browser, usually as a heading on the same page.
One solution to this: