rescript-apollo-client
ReScript bindings for the Apollo Client ecosystem (by jeddeloh)
rescript-jest
ReScript bindings for Jest (by glennsl)
Our great sponsors
rescript-apollo-client | rescript-jest | |
---|---|---|
1 | 2 | |
127 | 293 | |
- | - | |
0.0 | 5.4 | |
20 days ago | 6 days ago | |
ReScript | ReScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
rescript-apollo-client
Posts with mentions or reviews of rescript-apollo-client.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-11-02.
-
ReScript JSON Typed Strongly
ReScript Apollo Client generates type-safe bindings to GraphQL schemas. Nice option if you only develop the front-end part in ReScript and the server provides GraphQL API.
rescript-jest
Posts with mentions or reviews of rescript-jest.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-02.
-
Testing in ReScript
Another popular option is to use bindings for Jest. However, in my opinion, Jest is a monstrous combine that is slow, has a hacky mock system, bad ESM support, and purely tries to mimic DOM API with JSDOM. AVA literally doesn't have any of these. Also, the available Jest bindings don't allow doing multiple assertions per test, which is often useful to me.
-
How I Switched from TypeScript to ReScript
In order to write tests in ReScript, and thus test your code directly, you can use bs-jest, which provides ReScript bindings to Jest. If you prefer, you can also use the slightly less mature bs-mocha. You can also test the generated JavaScript or TypeScript files with no extra configuration.
What are some alternatives?
When comparing rescript-apollo-client and rescript-jest you can also consider the following projects:
ajv - The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)
rescript-react-realworld-example-app - An exemplary real-world application built using ReScript and React