Quantcast
Channel: ReScript Forum - Latest posts
Browsing index pages (2440 articles)
↧

Introducing ReScript support in typeshare (Rust)

This looks very good. There is also a S.uuid type and others now in Sury v11, which you can use by default for some built-in types. I also want to add rkyv support in the future. Together with...

View Article


Welcome Sury - successor of ReScript Schema

Hi, I definitely recommend you checking out GitHub - DZakh/rescript-rest: 😴 ReScript RPC-like client, contract, and server implementation for a pure REST API · GitHub I didn’t update it to use latest...

View Article


Welcome Sury - successor of ReScript Schema

Hi DZakh, Congrats on the 11.0 stable release! I wanted to say hello here because I’m about to select Sury for a real project: an external API for one of my company’s products, built on ReScript 12 +...

View Article

Image may be NSFW.
Clik here to view.

Introducing @juspay/rescript-bindgen

npx @juspay/rescript-bindgen@beta --pkg @webgpu/types --out webgpu-types This currently resolves to 1.4.0-beta.5 . The default latest tag is still pointing to 1.3.0 , which is why a bare npx...

View Article

Proposing new syntax for zero-cost unwrapping options/results

That reminds me of Elixir with/when do expressions with scroll when ref.current->Option.isSome

View Article


Proposing new syntax for zero-cost unwrapping options/results

let? works great to simplity functions that were already written to output option types: let time = i => { let? Some(hour) = float(i) let? Some(minute) = float(i) let? Some(second) = float(i) let?...

View Article

Introducing Xote 7.1

Super Cool!!!

View Article

Image may be NSFW.
Clik here to view.

Introducing Xote 7.1

Just to share one more update: There’s now a Xote Playground available for trying out Xote components xote-playground Right now the ReScript and Xote versions are locked, I might add different version...

View Article


Introducing Xote 7.1

I actually think @xote.component already supports unwrapping signal values directly, at least partially. Any {value} rendered in the JSX, static or not, gets wrapped in a View.child, which then...

View Article


Image may be NSFW.
Clik here to view.

Introducing Xote 7.1

brnrdog: Question: how would you feel about some sort of sigil for rendering signals? Getting a reactive signal value is the only thing one would need when reading a signal inside a prop. If sigil is...

View Article

Image may be NSFW.
Clik here to view.

Introducing Xote 7.1

moondaddi: I’d be more than happy to help implement those transformations. Thanks, @moondaddi! I’m cooking something with Claude, so I might ask for some review at some point. I can also share a quick...

View Article

Introducing Xote 7.1

A PPX is simply an AST-to-AST transformer (AST → AST'). If you can share some before-and-after examples of the expressions you’d like to transform, I’d be more than happy to help implement those...

View Article

Image may be NSFW.
Clik here to view.

Introducing Xote 7.1

brnrdog: abstracting this feels more natural for some people, especially coming from React, where any prop change triggers an update down the tree if it’s being rendered I am playing around with...

View Article


Introducing Xote 7.1

@moondaddi to the rescue!

View Article

Introducing Xote 7.1

I considered that, but I’m still not sure. From one side, I think being able to spot a reactive node right away by reading Signal.get(value) instead of simply value in your UI makes things clearer....

View Article


Introducing Xote 7.1

Would you consider extend PPX further still so it can auto unwrap signal values in attributes or in text, or would that be bridge too far?

View Article

Introducing Xote 7.1

It applies to tag attributes, yes. HTML attributes are reactive when using signals on them: <div class={Signal.get(theme)} /> // this works, updates when `theme` changes For component props,...

View Article


How to handle auth

One simplified approach for you authentication system could look like this: type user = { id: string, name: string, } type state = | Unlogged | Logging({jwt: string}) | Logged({jwt: string, user:...

View Article

Introducing Xote 7.1

Does same apply to tag property values, like Preact does with their “signalish” props? Introducing Signals – Preact?

View Article

Introducing Xote 7.1

Congrats on shipping a ReScript-native framework! Thanks! It’s been a great journey! Is the JSX deliberately more relaxed than in the React PPX? Do you think we should relax it there as well?...

View Article
Browsing index pages (2440 articles)


Latest Images