Quantcast
Channel: ReScript Forum - Latest posts
Viewing all articles
Browse latest Browse all 1823

Private by default

$
0
0

How would people feel if everything was private by default in ReScript instead of the opposite?

Using a signature file to hide details feels cumbersome, especially since I often use this for React components. This requirement is necessary for fast refresh to work, and it all feels a bit backward to me.

What if ReScript had an export keyword like JavaScript? Then public information could be determined explicitly instead.


Viewing all articles
Browse latest Browse all 1823

Trending Articles