0.4.0 - 0.4.2
Change log for 0.4.0-0.4.2 was only in git commits, here is a summary.
code-0.4.2
- add codefold icon style
kit-0.1.0-alpha.1
💥 Breaking changes.
- for v18 strictmode the unmount/remount protection and destroying isn't possible without a state, switch back to state based
EditorViewcreation, but still mounting inuseLayoutEffectto battle delays/flickers - 💥 moved
onViewLifecycletouseCodeMirror, still available viaCodeMirrorprops - add
onExternalChangetoCodeMirrorprops - made param
containerRefoptional inuseCodeMirrorand moved aftereffects
code-0.4.1
- typing fixes
kit-0.1.0-alpha.0
💥 Breaking changes.
- 💥 streamlined EditorView creation, switched from state based to ref+memo based with optimized
useLayoutEffectrendering- fixes flickering
- fixes painting delays
- cleanup unneeded checks & code
- easier render-flow intergration
- 💥 new
effectsprop + param (CodeMirror/useCodeMirror) to apply editor effects from e.g. extensions without having theeditorin the actual component - new
useExtensionhook to easily update extensions in auseCallbackfashion- fixes unnecessary editor destroy & creation (history lost, flickering etc.)
code-0.4.0
- mui add new
embedvariant touseEditorTheme - mui add new
denseoption touseEditorTheme - add widget keyword
dense - optimized colors in theme + highlighting
- now defaults to fullwidth, to be easier styleable from container component