Comments (2)
@lhz516 Modules should be independent of each other so as action methods.
We need to have module namespacing for these methods while exporting them, so that we will eliminate overwriting existing action method from other module.
May be like this:
import action from admin.js; const admin = { action }; export default admin;
and access as
actions.admin.action, actions.project.action
from mantra-core.
@HaareeKrishna Okay, that makes sense. TY
from mantra-core.
Related Issues (8)
- Module definition file : load method is mandatory in order to pass context by DI HOT 2
- Problems with Meteor 1.6? HOT 1
- Upgrading to Meteor 1.3 doesn't work HOT 1
- Basic support for modularity using react-router HOT 1
- react-komposer version and dependencies is outdated HOT 6
- deprecate imports from mantra-core HOT 2
- Bug while separating route declarations into several modules HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mantra-core.