Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const helix = require('helix-js').default
- helix({
- model: {
- state: {
- posts: []
- },
- reducers: {
- setPosts (state, posts) {
- return { posts }
- }
- }
- },
- component: console.log,
- render: console.log
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement