hisownspace / slacker

0 stars 0 forks source link

move logic handling to the store for message creation #14

Open hisownspace opened 5 months ago

hisownspace commented 5 months ago

moving deletion logic to component would also be a valid solution. neither is inherently better imo (look into this), but for he site to function properly, they both need to be handled in the same place.

at the moment, delete is reading & altering the store, while create is reading & altering the state. they need to be operating on the same data.