Upgrade from v1.x to Revolutionary UI Factory v2.0 with confidence
Revolutionary UI Factory v2.0 is a major update that transforms the library from a React-only table/form generator to a universal component factory supporting 150+ component types across 10+ frameworks.
# Old
npm uninstall revolutionary-ui-factory
# New
npm install @vladimirdukelic/revolutionary-ui-factory
// Old (v1.x)
import { createDataTable, createForm } from 'revolutionary-ui-factory';
// New (v2.0)
import { setup } from '@vladimirdukelic/revolutionary-ui-factory';
const ui = setup();
const table = ui.createDataTable(config);
Revolutionary UI Factory v2.0 requires React 19 or higher:
{
"dependencies": {
"react": "^19.0.0",
"react-dom": "^19.0.0"
}
}
Update to TypeScript 5.0 or higher:
{
"devDependencies": {
"typescript": "^5.0.0"
}
}
Step | Action | Command/Code |
---|---|---|
1 | Remove old package | npm uninstall revolutionary-ui-factory |
2 | Install new package | npm install @vladimirdukelic/revolutionary-ui-factory |
3 | Update React | npm install react@^19.0.0 react-dom@^19.0.0 |
4 | Update TypeScript | npm install -D typescript@^5.0.0 |
5 | Update imports | Replace 'revolutionary-ui-factory' with '@vladimirdukelic/revolutionary-ui-factory' |
6 | Update component creation | const ui = setup(); ui.createDataTable(...) |
If you encounter peer dependency issues:
npm install --legacy-peer-deps
Update your postcss.config.js:
module.exports = {
plugins: {
'@tailwindcss/postcss': {}, // New v4 plugin
autoprefixer: {},
},
}
If experiencing TypeScript errors, temporarily disable strict mode:
{
"compilerOptions": {
"strict": false,
"skipLibCheck": true
}
}
Enable Turbopack in your package.json:
{
"scripts": {
"dev": "next dev --turbopack"
}
}
For easier migration, v2.0 includes a compatibility mode that supports most v1.x APIs:
import { enableV1Compatibility } from '@vladimirdukelic/revolutionary-ui-factory';
// Enable v1 API compatibility
enableV1Compatibility();
// Your old code should work with minimal changes
Need assistance with your migration? We're here to help: