Using createStore helper for chat and routing demos