Should we rename APIs? sangte -> atom
See original GitHub issueAs a Korean, I really liked the name sangte
since it just makes sense.
However, after putting myself into foreign developers’ shoes, I thought that they might not like it because they are not used to this word.
Thus, I am planning to change the name as below. I need some feedback! Should I go for it? Or stick with the current naming?
sangte -> atom
useSangte -> useAtom
useSangteActions -> useAtomActions
useSangteValue -> useAtomValue
useSetSangte -> useSetAtom
useSangteStore -> useAtomStore
useSangteCallback -> useAtomCallback
useResetSangte -> useResetAtom
useResetAllSangte -> useResetAllAtoms
Issue Analytics
- State:
- Created a year ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
We should rename nuclear energy
Nuclear energy needs a new name to differentiate it from nuclear weapons. Besides, most energy sources are named after their fuel rather ...
Read more >Implement rename_obj (atomic rename) API in storage backend
As a side note for implementation, it looks like we need two types of consistency guarantees where: for creating the temp object, we...
Read more >Can I rename API names of fields in a change set?
No you can not rename API names with change sets. If you need to do something like that I would suggest using the...
Read more >Is rename() atomic? - linux - Stack Overflow
Yes and no. rename() is atomic assuming the OS does not crash. It cannot be split by any other filesystem op. If the...
Read more >Question: Can the name of a locally installed Atom be changed?
As Pete mentioned, changing the name of the Atom as it appears within the AtomSphere UI is quite easy. However if you are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thank you for sharing your thoughts everyone!
My current plan is:
Create alias
atom
forsangte
,useSangteState
foruseSangte
and keep all the API name as is.There might be some changes after getting more feedbacks from other developers later on. By the way I am planning to make a video about this library (in English) sooner or later!
Jotai means a state in Japanese. I guess you have already known this. From the same perspective, The name
Sangte
looks okay.