https://github.com/gilbox/links
https://github.com/gilbox/links
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/gilbox/links
- Owner: gilbox
- Created: 2015-05-24T16:05:48.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-06-11T21:52:29.000Z (about 11 years ago)
- Last Synced: 2025-07-13T17:49:51.842Z (about 1 year ago)
- Size: 152 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# links
Code snippets I've created while hanging out at the Internet.
## React
- [immutable playground (jsbin)](http://jsbin.com/tahire/1/edit?js,console) - Morearty, immutable-js
- [Portals with composition (jsbin)](http://jsbin.com/gadotu/1/edit?js,output) - React, Morearty, immutable-js
## Functional Cursors
- [replace cursors with functions (omniscient)](http://goo.gl/FG6wxF) - Original by [Gozala](https://github.com/omniscientjs/omniscient/issues/89). I just added `subeditIn` function. (React, omniscient)
- ...[or use compose and In](http://goo.gl/melLC8)
- ...[breaking Gozala's cursor functions](http://goo.gl/7rqok2)
- [partially implemented semi-functional cursors](http://goo.gl/OsBMYy) - Bastardizes ^. Needs some way to update edit function of existing cursors to work properly. (In addition to memoizing cursors?)
## Functional React
Demos inspired by (and forked from) the previous section. Exploring different approaches to functional react.
- [function react simple](http://jsbin.com/wotelo/2/edit?js,output)
- [function react with streams](http://jsbin.com/wotelo/2/edit?html,js,output)
## Functional Programing
- [curried addition done two ways (jsbin)](http://jsbin.com/dohafi/2/edit) - `add(1)(2)(3)()`