harshmangalam / qwik-x

Social media web app like Twitter build with Qwikcity
27 stars 29 forks source link

Add optimistic UI updates for create new post #40

Open harshmangalam opened 1 year ago

iitzIrFan commented 4 weeks ago

@harshmangalam I have skills to improve UI and had worked on such issues previously so do assign this issue to me !

harshmangalam commented 4 weeks ago

Thnaks @iitzIrFan assigned to you

iitzIrFan commented 4 weeks ago

@harshmangalam Thanks for assigning this issue to me.

iitzIrFan commented 3 weeks ago

@harshmangalam Had opened an PR req for this issue after resolving it so do check that out !

iitzIrFan commented 3 weeks ago

@harshmangalam I would like to use useSignal to manage the state of the Post component to automatically trigger renders when its value changes. Will this be okay with you ?

harshmangalam commented 3 weeks ago

No need to store the value in signal you can utilize serverAction that will be easy to maintain.

iitzIrFan commented 3 weeks ago

Can you elaborate your approach as I am finding it difficult to implement. Also can you refer me some examples of it's implementation and working ?