iceklink-react
v1.0.0
Published
A React-like framework implementation
Maintainers
Readme
MyReact
A lightweight React-like framework implementation with JSX support.
Installation
npm install my-reactUsage
import { MyReact } from 'my-react';
function App() {
return MyReact.createElement(
'div',
{ className: 'app' },
MyReact.createElement('h1', null, 'Hello from MyReact!')
);
}
const rootElement = document.getElementById('root');
MyReact.render(App(), rootElement);Features
- JSX support
- Virtual DOM implementation
- Component-based architecture
- Simple and lightweight
Development
# Install dependencies
npm install
# Start development server
npm start
# Build for production
npm run buildLicense
MIT
