Cast unbox to primitive
there are some ways to model inheritance with rescript type systems, sometimes it’s worth it, sometimes it’s just too cumbersome, so you can try and judge by yourself! Here is an example (try it in...
View ArticleCast unbox to primitive
This looks interesting, in my code I do have two generic parameters: /// https://firebase.google.com/docs/reference/js/firestore_.querydocumentsnapshot.md#querydocumentsnapshot_class type...
View ArticleAlright, what does the tilde do
I didn’t know about the syntax lookup … very helpful! #newbie
View ArticleCast unbox to primitive
You can still use it, you’d need to add one more type parameter then.
View ArticleCast unbox to primitive
How does that look like? Sorry I couldn’t quite figure it out. Could you give an example maybe?
View ArticleCast unbox to primitive
Like this: /// https://firebase.google.com/docs/reference/js/firestore_.querydocumentsnapshot.md#querydocumentsnapshot_class type query<'kind, 'documentdata, 'metadata> type...
View ArticleWhy does ReScript React use labeled arguments instead of props?
I just saw this in the ReScript React docs. What are the reasons for this choice ? Record types seem easier to work with, can use the spread syntax, facilitate HOC and are the common way to work in...
View ArticleWhy does ReScript React use labeled arguments instead of props?
Some guesses: optional parameters (optional fields in records weren’t able a few versions ago) performance (just pass parameters instead of creating objects, but probably the compiled code will be the...
View ArticleWhy does ReScript React use labeled arguments instead of props?
There is some context on the design. [RFC] Optionally labeled arguments · Issue #6646 · rescript-lang/rescript-compiler · GitHub There is also RFC: `@deriving` for labeled arguments · Issue #6530 ·...
View ArticleWhy does ReScript React use labeled arguments instead of props?
Or maybe your question is React-specific. In JSX v4, you can use record types for sharing. But still, labeled arguments can provide better ergonomics. It allows for co-locating type definitions and...
View Article[ANN] rescript-rest - RPC-like client, contract, and server implementation...
For the last few months, I have had to pause the development of rescript-rest because an important feature was missing in my other library, rescript-schema. I finally managed to implement it, and I am...
View ArticleRapaid wealth loan customer care helpline number//*9201333017//*8817792161alll
Rapaid wealth loan customer care helpline number//*9201333017//*8817792161alllRapaid wealth loan customer care helpline number//*9201333017//*8817792161alllRapaid wealth loan customer care helpline...
View ArticleRapaid wealth loan customer care helpline number//*9201333017//*8817792161alll
Rapaid wealth loan customer care helpline number//*9201333017//*8817792161alllRapaid wealth loan customer care helpline number//*9201333017//*8817792161alllRapaid wealth loan customer care helpline...
View ArticleRapaid wealth loan customer care helpline number//*9201333017//*8817792161allljs
Rapaid wealth loan customer care helpline number//*9201333017//*8817792161alllRapaid wealth loan customer care helpline number//*9201333017//*8817792161alllRapaid wealth loan customer care helpline...
View ArticleRapaid wealth loan customer care helpline number//*9201333017//*8817792161allljs
Rapaid wealth loan customer care helpline number//*9201333017//*8817792161alllRapaid wealth loan customer care helpline number//*9201333017//*8817792161alllRapaid wealth loan customer care helpline...
View ArticleRapaid wealth loan customer care helpline...
Rapaid wealth loan customer care helpline number//*9201333017//*8817792161alllRapaid wealth loan customer care helpline number//*9201333017//*8817792161alllRapaid wealth loan customer care helpline...
View ArticleRapaid wealth loan customer care helpline...
Rapaid wealth loan customer care helpline number//*9201333017//*8817792161alllRapaid wealth loan customer care helpline number//*9201333017//*8817792161alllRapaid wealth loan customer care helpline...
View Article[ANN] rescript-rest - RPC-like client, contract, and server implementation...
DZakh: S.object superpowers Can’t wait to see what you come up with with these changes
View Article[ANN] rescript-rest - RPC-like client, contract, and server implementation...
DZakh: Planned features Support path params Support query params Implement type-safe response Support passing headers and fetch options Pretty much the whole API for the library ︎
View ArticleType level function for tracking observable behavior
Hey All. Working on my Rxjs observable bindings, Im uncovering lots of weird behavior in observables that i hope to track in types. For example, Rxjs talks about observables being “hot” or “cold”...
View Article