Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LuisMPS/build-ui
/ handleSave
Function
handleSave
examples/tutorial/src/components/TopBar.js:16–21 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
14
loadTree
15
} = builder;
16
const
handleSave = () => {
17
// Maybe let save your work
18
// to a storage service?
19
// Or a database? A file...?
20
console.log(json());
21
}
22
return
<div>
23
<button onClick = {handleSave}>
24
Save
Callers
nothing calls this directly
Calls
1
json
Function · 0.85
Tested by
no test coverage detected