free-site-builder
free-site-builder copied to clipboard
[✅ASSIGNED] Builder CORE Improvements applied for v1.0.16
STATUS: ASSIGNED to @umarali
Context
@umarali please add all the functional improvements that need to be done in the CORE of the builder.
PRIO:
- stability
- codebase pattern
- remove all runtime exceptions (JS console)
TY!
Some quick suggestions:
- Replace magic strings with constants, e.g. currentPageTabs.
- Avoid using inline styles.
- For better state management, consider libraries like Redux or patterns such as the Context API. Also, to optimize DOM interactions, explore frameworks React, Vue, or Angular could be used.
- Modularize the code into distinct units, such as tabManager.ts and componentRenderer.ts, for enhanced maintainability and testing. Similarly, onClick also needs to divided into smaller chunks.
- Make use of ES6 features properly.
@app-generator