We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2df129 commit 8828505Copy full SHA for 8828505
.gitignore
@@ -6,3 +6,6 @@ pkg/
6
7
8
dist/
9
+
10
11
+.DS_Store
README.md
@@ -98,6 +98,7 @@ pub enum ActionOp {
98
}
99
100
impl RespoAction for ActionOp {
101
+ type Intent = (); // Intent is optional, it's for async actions.
102
fn states_action(a: RespoUpdateState) -> Self {
103
Self::StatesChange(a)
104
@@ -126,7 +127,6 @@ struct App {
126
127
128
impl RespoApp for App {
129
type Model = Store;
- type Action = ActionOp;
130
131
fn get_store(&self) -> Rc<RefCell<Self::Model>> {
132
self.store.to_owned()
0 commit comments