Fork me on GitHub
#hoplon
<
2020-05-19
>
alandipert16:05:03

a new javelin-like thing from FB https://recoiljs.org/

alandipert16:05:17

i tried to mash up javelin and react recently without success, i wonder if this illuminates a worthwhile path

dave19:05:19

wow, this is very javelin-ish indeed! cell => "atom" formula => "selector"

alandipert19:05:00

i'm not sure what the basis for reactivity there is but i imagine it's not equality, and so their selector functions probably must be pure

dave19:05:21

i did notice that their "atoms" have to have keys, which stuck out to me as interesting

alandipert19:05:50

yeah, weird, a namespace of atoms

dave19:05:56

like with javelin, the "key" is notionally just the symbol referring to the object, like (defc foo 42)

dave19:05:12

with this thing, you would have to give it an additional ID on top of that

dave19:05:44

like var foo = new Whatever({"key": "foo again?", "value": 42})

alandipert19:05:56

yeah, part of data structure avoidance perhaps

alandipert19:05:04

bespoke maps

flyboarder19:05:53

kinda makes sense, if the world around you knows your name, you should probably also know your name

alandipert19:05:02

could play a role in dev tooling also