Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function App () {
return h(Fragment, null,
h('div', null, 'After refresh the page the state should be same'),
h(Tracker1),
h('div', { className: 'buttons' },
h(Button1),
h(ButtonClear)
)
)
}
let store = createStore([counter, logger, persistState(), devtools()])
render(
h(StoreContext.Provider, { value: store }, h(App)),
document.querySelector('main')
)