Remove unnecessary export to make usage clearer. (#12167)
The method initializeStore is only being used locally by useStore. By having this exported I initially thought the consumer would have to call this as setup globally and then call useStore as well for each consuming component. Downloading the sample I saw it's only useStore that is being used by the consuming app and this could be made clear by not exporting initializeStore.
Showing
想要评论请 注册 或 登录