Code editor component should have a modular and composable design, allowing usage by 3rd parties or in other projects.
Solution
Split different parts of the UI into seperate React.js components (editor toolbar, code panel, preview panel, error panel, console panel,..), so that they can be reused and extended seperately.
[x] refactor preview to a seperate component
[ ] refactor error inspection to a seperate component
Problem
Code editor component should have a modular and composable design, allowing usage by 3rd parties or in other projects.
Solution
Split different parts of the UI into seperate React.js components (editor toolbar, code panel, preview panel, error panel, console panel,..), so that they can be reused and extended seperately.