Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 24 2015 04:29

    freeman-lab on master

    Update README.md (compare)

  • Dec 09 2015 19:18

    freeman-lab on master

    Adjust color (compare)

  • Dec 09 2015 19:16

    freeman-lab on master

    Add logo (compare)

  • Dec 01 2015 06:59

    freeman-lab on master

    Update README.md (compare)

  • Dec 01 2015 06:59

    freeman-lab on master

    Update README.md (compare)

  • Dec 01 2015 06:58

    freeman-lab on master

    Update README.md (compare)

  • Dec 01 2015 06:52

    freeman-lab on master

    Add Gitter badge Merge pull request #1 from gitt… (compare)

  • Dec 01 2015 06:52
    freeman-lab closed #1
  • Dec 01 2015 06:42
    gitter-badger opened #1
Kyle Kelley
@rgbkrk
so long as you have a JSON serializable representation, you can follow the plotly.js or geojson/leaflet ones
I started off with victory components originally
but then realized I'd need to have some standard
Matthew Conlen
@mathisonian
okay cool
yeah i remember seeing this thread nteract/nteract#661
Kyle Kelley
@rgbkrk
As for registration, I could see us having a redux action like:
{
  type: "REGISTER_TRANSFORM",
  transform: component,
}
Where we shove the new transform in the front of the display order (it's more like "priorityOrder") as well as set the map from mimetype -> component
Kyle Kelley
@rgbkrk
Forgot to note - I don't expect users to work with the low level bits
I want to provide the fundamentals for libraries
that way a user operates more like
x = Thing()
x

# Display the thing


# Later in a new cell
x.property = 23
# View above is updated
Matthew Conlen
@mathisonian
got it, that makes a ton of sense
Seth Vincent
@sethvincent
@jwittenbach yeah! using it for minidocs and adventuretron (http://github.com/sethvincent/adventuretron)
Jason Wittenbach
@jwittenbach
@sethvincent awesome! I’ve been playing around with it this weekend for a side-project of mine.
do you have a good sense of how the routing works? that the one part of the framework that isn’t making a ton of sense to me, and I can’t seem to find any good documentation about it
Seth Vincent
@sethvincent
@jwittenbach yeah, when visiting urls of a choo app it modifies the state in a couple ways. it changes state.location.pathname and there's also state.params which reflects url variables like page in /pages/:page
each route requires that you pass a function that take the state of the app as arguments, and returns the dom nodes that you want to render
Jason Wittenbach
@jwittenbach
ah, cool
one thing that seemed odd to me
is that choo seemed OK with me routing either /:page or /page to some view
but then I only seemed to be able to access it internally from within the app
Seth Vincent
@sethvincent
right, it doesn't care if you reuse those top-level functions
Jason Wittenbach
@jwittenbach
is that right?
Seth Vincent
@sethvincent
oh weird
hmm, not sure
Jason Wittenbach
@jwittenbach
I found that if I just browsed to /localhost/page I would get nothing
but if, inside the app, I included a <a href=/page>link</a>, then the view would be generated correctly
Seth Vincent
@sethvincent
ah, that's related to html5 pushstate
so it depends on how you're serving the site in your dev environment
i usually use budo as the dev server (http://npmjs.org/budo)
Jason Wittenbach
@jwittenbach
yeah, that’s what I’ve been doing too
budo index.js —live
Seth Vincent
@sethvincent
you can use the --pushstate option to get around that issue
it'll serve the index.html file no matter what so the browser app handles all the routing
Jason Wittenbach
@jwittenbach
ah perfect! that did it :smile_cat:
I’m still pretty new to the front-end game, and I was worried these was something fundamental about how this works that I was missing
Nicholas Sofroniew
@sofroniewn
@freeman-lab http://www.nature.com/nrn/journal/v17/n10/full/nrn.2016.116.html - take on large team neuro research
Kyle Kelley
@rgbkrk
@sofroniewn which project was is that was reliant on redux style reduction + a microscope you were working with?
Gitter Robot
@gitter-robot
ogd sofroniewn id be curious to interview the author to learn about what they mean when they say 'Projects that depend on brain imaging require support for data management and sharing, which are absolutely crucial to the success of a project.', which i obviously agree with but i bet they have specific problems in mind
Mikola Lysenko
@mikolalysenko
anyone who is around nyc is welcome to stop by this saturday for a webgl hacking party
me substack and mk30 are in coney island staying at mathisonian's place
Jeffrey Seely
@jsseely
@mikolalysenko I might join :). I don’t think we’ve met.
Mikola Lysenko
@mikolalysenko
cool!
stop on by
Matthew Conlen
@mathisonian
@jsseely yeah definitely stop by
Seth Vincent
@sethvincent
a minidocs v4.1.0 release is out with some nice little fixes
Jeremy Freeman
@freeman-lab
sorry i can't be there tonight guys but have fun!
please post crazy gl pics here
Jeremy Freeman
@freeman-lab