rescript-react
rescript-mui
rescript-react | rescript-mui | |
---|---|---|
4 | 2 | |
458 | 246 | |
1.5% | -0.4% | |
5.3 | 8.6 | |
2 months ago | 21 days ago | |
ReScript | ReScript | |
MIT License | MIT License |
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-react
-
Tired of Typescript? Check out ReScript!
Another cool example is that this also works for React component props (ReScript has first class support for React and JSX!).
-
How does one write React apps in a purely functional style without making the entire codebase a mess?
ReScript (before BuckleScript) https://rescript-lang.org/ is a functional language that can also use OOP. Ideal for Javascript and Typescript projects, React and servers. It integrates perfectly with Javascript and Typescript code https://rescript-lang.org/docs/react/latest/introduction
-
Converting a JavaScript React app to a ReScript React app.
@rescript/react: ReScript bindings to React and support for JSX
-
How to handle routing in a ReScript React app using pattern matching.
@rescript/react comes with a router already so we don't need to install anything else to get started. Here are the full docs, but let's walk through each step in detail to make sure we understand it.
rescript-mui
-
From TypeScript to ReScript
I've been using ReScript for a few months now. So far I mostly like it, but it takes some time to get used to it. The error messages can be confusing though so I try not to depend too much on type inference. The other downside is that some bindings for some of the web apis seem to be missing (like for the types in the Dom module).
Btw, for Material UI there are already bindings [1]
[1] https://github.com/cca-io/rescript-material-ui
-
Help with bindings in @rescript/react
Some even wrote binding generators, as it is hard to keep up with the growth of UI libraries: https://github.com/jsiebern/bs-material-ui/tree/master/tools/binding-generator
What are some alternatives?
rescript-date - 📆 Date manipulation in ReScript.
Idris2 - A purely functional programming language with first class types
rescript-jest - ReScript bindings for Jest
melange - A mixture of tooling combined to produce JavaScript from OCaml & Reason
rescript-react-realworld-example-app - An exemplary real-world application built using ReScript and React
rescript-compiler - The compiler for ReScript.
counter-app - This tiny application is like adding,removing,deleting, resetting products which reflects in the total number of products into our shopping cart.
agda-mode-vscode - agda-mode on VS Code
rescript-webapi - ReScript bindings to the DOM and other Web APIs
genType - Auto generation of idiomatic bindings between Reason and JavaScript: either vanilla or typed with TypeScript/FlowType.
rescript-schema - The fastest composable parser/serializer for ReScript (and TypeScript)
lwt - OCaml promises and concurrent I/O