-
Notifications
You must be signed in to change notification settings - Fork 8
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
refact: enhance state management and full typescript support #15
base: main
Are you sure you want to change the base?
refact: enhance state management and full typescript support #15
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for cleaning up the code and actually make it fully typescript! ! It is much better organized!
salty: Salty; | ||
} | ||
|
||
interface Salty { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these types can also be added to the native signify-ts client rather than in the web app itself! It would be awesome if you could make a pr here as well to add these!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure! Thank you for pointing out to this!
I thought it would be more understandable for newcomers and much easier and less intimidating to add new features if the code was strongly typed and split into a hierarchy :) |
I plan to review/test this tonight or tomorrow |
All variables in shared-slice are related to authentication, thus, auth-slice is more semantic. We can have a shared-slice later if needed
I had some issues running the orig repo (and yours) but they are on my side. I'll come back to this soon. |
please reinstall dependencies using |
@2byrds have you had a chance to integration test this PR? |
No, I've been buried in other tasks. I'll try to revisit soon, thank you for the reminder! |
cleaner and more readable code