Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optimistic UI updates for create new post #40

Open
harshmangalam opened this issue Oct 6, 2023 · 7 comments
Open

Add optimistic UI updates for create new post #40

harshmangalam opened this issue Oct 6, 2023 · 7 comments
Assignees
Labels
enhancement New feature or request hacktoberfest

Comments

@harshmangalam
Copy link
Owner

No description provided.

@harshmangalam harshmangalam added enhancement New feature or request hacktoberfest labels Oct 6, 2023
@iitzIrFan
Copy link
Contributor

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

@harshmangalam
Copy link
Owner Author

Thnaks @iitzIrFan assigned to you

@iitzIrFan
Copy link
Contributor

@harshmangalam Thanks for assigning this issue to me.

@iitzIrFan
Copy link
Contributor

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

@iitzIrFan
Copy link
Contributor

@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
Copy link
Owner Author

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

@iitzIrFan
Copy link
Contributor

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants