I’ve noticed that some libraries use Rescript for their module names eg RescriptCore, RescriptRelay, while others use ReScript eg ReScriptJs, ReScriptStruct.
I wonder which one is more correct ![]()
- ReScript
- Rescript
0 voters
I’ve noticed that some libraries use Rescript for their module names eg RescriptCore, RescriptRelay, while others use ReScript eg ReScriptJs, ReScriptStruct.
I wonder which one is more correct ![]()
0 voters
While ReScript is more correct when used in everyday conversation, I think in module names it is better to treat it as one word (as in RescriptRelay). Just my opinion though.
I kinda agree. Similarly to the way that I prefer to treat abbreviations like Json as words in identifiers, I think I’d prefer treating Rescript as a single word.
Why is there this convention of adding the Rescript prefix in the namespace?
I understand prefix to publish the package to npm.
To avoid collision with the application module names ![]()
The official rescript-react goes with RescriptReact as well.