I was hacking with some Castra examples and I found the way that castra calls the remote function is kinda ankward - it needs to reference a cell, even when I did only want to update part of one.
So, I've changed the "mkremote" function to accept three functions, in place of three cells. This made the code more "ankward", but I've got the benefit that I can extend the code so that it doesn't need to create unnecessary cells, and I can just pass a callback on success and update a cell with
swap!, or I don't even need to update anything and just fire an alert in the browser, or something.
So, do we need the castra-cells dependency? I know it's part of Hoplon, and I know when all the pieces are together that we can see the magic hapenning, but wouldn't Castra be more flexible and easily integrated with third-party libraries if we drop the cells dependency for it?