-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
In the process of learning Flow and adopting it at work, I've often needed "advanced" operators that are completely missing from the documentation.
So far I relied on this blog post (now slightly outdated) http://sitr.us/2015/05/31/advanced-features-in-flow.html and code found in the Flow and React codebases.
I think I'd be nice to have this features explained in the official documentation.
The features I'd like to see documented are:
- $Keys
- $Diff<A, B>
-
$Supertype(deprecated) -
$Subtype(deprecated) -
$Abstract(removed) - Class
- $PropertyType<T, x>
- * (existential types)
- $ObjMap / $TupleMap
- $ObjMapi
- $Shape
- $ReadOnlyArray
- $Compose
- $ComposeReverse
- $CharSet
- $NonMaybeType
- $Rest<A, B>
And maybe (they look like internal features though):
- $Exports
-
$Pred(experimental) -
$Refine(experimental)
Am I missing something?
In order to get the ball rolling, I've sketched a documentation page for "dynamic" enums using $Keys
(aka $Enum
). I have a PR almost ready that I will submit soon.
Is this something that you guys are already working on?
I'd be glad to help (provided that I understand the features first 😅).
Let me know!