https://github.com/crapthings/meteor-data-container

this container let your write less code

https://github.com/crapthings/meteor-data-container

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (2.9%) to scientific vocabulary
Last synced: 9 months ago · JSON representation

Repository

this container let your write less code

Basic Info
  • Host: GitHub
  • Owner: crapthings
  • Language: JavaScript
  • Default Branch: master
  • Homepage:
  • Size: 16.6 KB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Created over 9 years ago · Last pushed over 9 years ago
Metadata Files
Readme Changelog

README.md

Installation

meteor npm i lodash react-komposer --save

meteor add crapthings:meteor-data-container

Usage

publish your posts and return your posts cursor

Meteor.publish('posts', function (userId) { const selector = userId ? { userId } : {} return Posts.find(selector) })

use MeteorDataContainer to get your reactive data

```

const subscriptions = { posts: [] }

const data = { posts () { return Posts.find().fetch() { }

const PostsListComponent = () =>

{posts.map(post) =>

{post.title}

}
} />

```

"subscriptions" is an object. each of keys in subscriptions is the subscribe name, and value should be an array that apply as publish args

"data" is an object, each of keys can be use in container under props

Owner

  • Name: crapthings
  • Login: crapthings
  • Kind: user
  • Location: Harbin, China

javascript, coffeescript, typescript, solidity, ableton live, edm music

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 2
  • Total pull requests: 0
  • Average time to close issues: 6 months
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 0.5
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • crapthings (2)
Pull Request Authors
Top Labels
Issue Labels
todos (1)
Pull Request Labels

Dependencies

example/package.json npm
  • bcrypt ^0.8.7
  • faker ^3.1.0
  • form2js ^1.0.0
  • lodash ^4.16.4
  • meteor-node-stubs ~0.2.0
  • moment ^2.15.1
  • object-sizeof ^1.1.1
  • react ^15.3.2
  • react-dom ^15.3.2
  • react-komposer ^1.13.1
  • react-mounter ^1.2.0
  • recompose ^0.20.2
  • sift ^3.2.6
  • sugar ^2.0.1