Skip to content

Commit 8d11e31

Browse files
committed
Return history and store instances after the store is initialised.
1 parent 24e8a37 commit 8d11e31

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/framework/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ export const initStore = (name, version, initialState = {}) => {
4242
});
4343
});
4444
}
45+
46+
return {store, history};
4547
};
4648

4749
class Application extends React.Component {

0 commit comments

Comments
 (0)