I think the link is now https://github.com/librasteve/Air-Examples/blob/main/bin/15-todosred.raku
But I think I may be unclear on one thing – though may be an error with my setup. The example doesn’t have a database added. But I’ve added a sqlite.db file. When I add todos, or remove them, the database is updated. But if I refresh the page (or even if I open another window and go to the same uri), the list of todos is the same as at initialisation.
So, the only way I seem to be able to see the changes I’ve made reflected in the browser is to stop and start the running of the app.
I think the link is now https://github.com/librasteve/Air-Examples/blob/main/bin/15-todosred.raku
But I think I may be unclear on one thing – though may be an error with my setup. The example doesn’t have a database added. But I’ve added a sqlite.db file. When I add todos, or remove them, the database is updated. But if I refresh the page (or even if I open another window and go to the same uri), the list of todos is the same as at initialisation.
So, the only way I seem to be able to see the changes I’ve made reflected in the browser is to stop and start the running of the app.