Provide nice API to unwrap value you get back from action #132
Closed
nikitavoloboev
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
This is wrong. this is me logging |
Beta Was this translation helpful? Give feedback.
0 replies
-
This works: const posts = await profileLoadMostPostsAction({
username: "nikiv",
pageNumber: local.pageNumber.get(),
})
authData.createdPosts.set([
...(authData.createdPosts.get() ?? []),
...posts.data[0].createdPosts,
]) I wonder why it has to be array though. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Have action. How do I unwrap nicely, can you provide a nice API for this please. 🙏
Beta Was this translation helpful? Give feedback.
All reactions