Skip to content
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.

create L.path #1

Open
sergeysova opened this issue May 18, 2018 · 0 comments
Open

create L.path #1

sergeysova opened this issue May 18, 2018 · 0 comments
Labels
good first issue Good for newcomers

Comments

@sergeysova
Copy link
Member

const fooBarLens = L.path(['foo', 'bar'])

// Same as

const fooBarLens = L.compose(L.prop('foo'), L.prop('bar'))
@sergeysova sergeysova added the good first issue Good for newcomers label May 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant