Quantcast
Channel: ReScript Forum - Latest posts
Browsing all 1751 articles
Browse latest View live

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 Article


Cast 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 Article


Alright, what does the tilde do

I didn’t know about the syntax lookup … very helpful! #newbie

View Article

Cast unbox to primitive

You can still use it, you’d need to add one more type parameter then.

View Article

Cast unbox to primitive

How does that look like? Sorry I couldn’t quite figure it out. Could you give an example maybe?

View Article


Cast unbox to primitive

Like this: /// https://firebase.google.com/docs/reference/js/firestore_.querydocumentsnapshot.md#querydocumentsnapshot_class type query<'kind, 'documentdata, 'metadata> type...

View Article

Why 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 Article

Why 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 Article


Why 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 Article


Image may be NSFW.
Clik here to view.

Why 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

Image may be NSFW.
Clik here to view.

[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 Article

Image may be NSFW.
Clik here to view.

Rapaid 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 Article

Rapaid 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 Article


Image may be NSFW.
Clik here to view.

Rapaid 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 Article

Rapaid 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 Article


Image may be NSFW.
Clik here to view.

Rapaid 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

Rapaid 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


Image may be NSFW.
Clik here to view.

[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

Image may be NSFW.
Clik here to view.

[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 Article

Type 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
Browsing all 1751 articles
Browse latest View live