Democratizing graph-based security analysis – Starbase
github.com3 pointsby modalist0 comments
class {
onCreate () {
this.state = {
count: 0
}
}
increment () {
this.state.count++;
}
}
<html>
<body>
<div onClick('increment')>Count: ${state.count}</div>
</body>
</html>
If Marko's built-in component state management is not sufficient, you can of course use Redux with Marko. Here's a sample app: https://github.com/marko-js-samples/marko-redux. export var route = '/about';
class {
...
}
<div>About!</div>
This actually would be fairly easy to implement, but we've been focusing on other things. I think that we should reprioritize this issue though.