-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Mantra? #24
Comments
Yes it is. |
Okay. This is very good point. I thought using Storybook for Mantra apps. But, this is other way around and very interesting. I think I kind a like it. Will work on it. |
Storybook is gaining more and more attention. With mantra structure, other devs can work on new features (mantra module) and distribute it to npm. Then storybook users can just |
Yes. I get it. That's really good. |
@sammkj Now we use Mantra. |
Hope we can close this now. |
Add ignore option to ignore cirtain stories or kinds by name
Use a non-hacky way to detect yarn.
Add function name support for actions
I have some problems with @storybook/mantra-core import {useDeps, composeWithTracker, composeAll} from '';
export const classeComposer = ({context}, onData) =>{
const {Meteor, FlowRouter, Collections,} = context();
if (Meteor.subscribe('classes.list').ready()){
const lesClasses = Collections.Classes.find({},
{fields: {_id:1, code:1, nbrePlaces:1},
sort: {code:1, nbrePlaces:1}}).fetch();
const nbreClasses = Collections.Classes.find({}).count();
onData(null, { lesClasses, nbreClasses});
}else{
onData();
}
};
export const classeMapper = (context, actions) => ({
addclasse: actions.classes.addclasse,
updateclasse: actions.classes.updateclasse,
deleteclasse: actions.classes.deleteclasse,
context: () => context
});
export default (component) => composeAll(
composeWithTracker(classeComposer),
useDeps(classeMapper)
)(component); I have this error in my consol:
Need help please. |
Bump version from 7.0.8-alpha.3 to 7.0.8-alpha.4
I think this is a very good way to show mantra to the JS community.
Also, different devs have different storybook use case. With mantra, core module can export a set of apis to allow other devs to add features easily without affecting the core.
The text was updated successfully, but these errors were encountered: