Build modern applications with our powerful framework. Learn how to install, configure, and use MADGTH effectively.
npm install madgth
yarn add madgth
After installation, you can import MADGTH in your JavaScript file:
import { core, utils } from 'madgth';
const app = new MADGTH.App({
container: '#root',
components: [MyComponent]
});
const store = createStore({
initialState: { count: 0 },
reducers: {
increment(state) {
return { count: state.count + 1 };
}
}
});