Lape
State manager for React
Install / Use
/learn @UgnisSoftware/LapeREADME
ARCHIVED: Use valtio or legend-state instead.
Lape
https://ugnissoftware.github.io/lape/
Simple state manager for React built on Proxies.
Supports only the latest browsers.
Example
// STATE.ts
import { lape } from "lape";
export interface State {
count: number;
deep: {
nest: boolean;
};
}
const defaultState: State = {
count: 0,
deep: {
nest: true,
},
};
export default lape(defaultState);
// APP.tsx
import { connect } from "lape";
import state from "./state";
const action = () => {
state.count += 1;
};
class App extends React.Component {
render() {
return <div onClick={action}>{state.count}</div>;
}
}
export default connect(App);
Related Skills
bluebubbles
342.5kUse when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration). Calls go through the generic message tool with channel="bluebubbles".
node-connect
342.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
slack
342.5kUse when you need to control Slack from OpenClaw via the slack tool, including reacting to messages or pinning/unpinning items in Slack channels or DMs.
frontend-design
85.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
