// ... React app boilerplateconst [data,setData] =useState([])constdb=awaitTome.init(api,'racket', { realm:true})// use db.log(...) for a logconstfeed=awaitdb.feed({ preload:true, permissions: { read:'space', write:'space', admin:'our' },onDataChange: (data) => {// data comes back sorted, newest entries first.// if you want a different order, you can sort the data here.setData([...data]) },})constid=awaitfeed.post('https://pbs.twimg.com/media/FmHxG_UX0AACbZY?format=png&name=900x900')awaitfeed.edit(id,'new-post-url')awaitfeed.setLink(id, {reaction:':smile:', comment:'amazing!'})awaitfeed.delete(id)