https://github.com/crapthings/meteor-data-container
this container let your write less code
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
Repository
this container let your write less code
Basic Info
Statistics
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
Installation
meteor npm i lodash react-komposer --save
meteor add crapthings:meteor-data-container
Usage
publish your
postsand return your posts cursor
Meteor.publish('posts', function (userId) {
const selector = userId ? { userId } : {}
return Posts.find(selector)
})
use
MeteorDataContainerto get yourreactivedata
```
const subscriptions = { posts: [] }
const data = { posts () { return Posts.find().fetch() { }
const PostsListComponent = () => {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
- Website: https://soundcloud.com/drujk
- Twitter: crapthings
- Repositories: 43
- Profile: https://github.com/crapthings
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
Pull Request Labels
Dependencies
- 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