How to make optimistic update using solidjs? - SolidJS