Sandpack April & May Update
Getting ready for React 18, many fixes on Code Editor and other fixes.
![Sandpack April & May Update](/_next/image?url=%2Fnew%2Fchangelog%2F2022-06-03-sandpack-april-and-may-update%2Fbanner.jpg&w=3840&q=75)
Bugs:
showOpenInCodeSandbox
: pass prop to loading component (#486);- Codemirror component: remove inline props, which was triggered unnecessary re-renders (#477);
- CodeEditor: prefer
React.useId
when available, getting ready for React 18 (#461); - CodeEditor: check if error message has a valid position (#466);
- CodeEditor: any change on read-only props wasn’t remounting the component (#456);
- Sandpack-context: make sure that the method
updateFile
triggers all clients (#455).
Features: