Skip to content

Conversation

@kaisalmen
Copy link
Collaborator

@kaisalmen kaisalmen commented Nov 3, 2025

  • Renders editor only once
  • Updated tests
  • Enforced language client disposal was moved from config to the react component (updated existing test and added StrictMode specific test)
  • Moved StrictMode specific test to own file
  • Renamed LanguageClientsManager to LanguageClientManager
  • Update dependencies
  • Fix lint issues

Fixes #975
Fixes #988

…g back enforced language client disposal

- Renamed LanguageClientsManager to LanguageClientManager
- Update dependencies
- Fix lint issues
@kaisalmen
Copy link
Collaborator Author

@CGNonofr I will release a next versions soon, so people can test it. If that looks good, the PR will be ready for review.

- Updated dependencies and changelogs
@kaisalmen kaisalmen changed the title WIP: Fixed re-rendering issues with React StrictMode Fixed re-rendering issues with React StrictMode Nov 4, 2025
@kaisalmen kaisalmen marked this pull request as ready for review November 4, 2025 21:54
@kaisalmen kaisalmen requested a review from CGNonofr as a code owner November 4, 2025 21:54
@kaisalmen
Copy link
Collaborator Author

kaisalmen commented Nov 6, 2025

@CGNonofr this is ready to review now. I added additional react component unit tests We now have 20 unit tests for the react component and 111 total. The new test cases ensure the fixes for #975 and #988 are valid and that the fixes are not invalidated in the future. vite browser tests rule! 🙂

@martin-fleck-at do see any further problems on your end?

Copy link
Collaborator

@CGNonofr CGNonofr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, forgot to submit my review!

@kaisalmen kaisalmen marked this pull request as draft November 6, 2025 15:22
@kaisalmen
Copy link
Collaborator Author

@CGNonofr and @martin-fleck-at I converted it back to a Draft. I want to fix the problems you mentioned, first. This is getting lengthy, in kn ow, but theses are all valid points. The first issue @CGNonofr brought up is resolved, though.

…options can be updated without restarting the editor
@kaisalmen kaisalmen marked this pull request as ready for review November 11, 2025 17:46
@kaisalmen
Copy link
Collaborator Author

@CGNonofr rework is complete. Ready for review, Part 2. New next releases will be there soon.

@kaisalmen
Copy link
Collaborator Author

@kaisalmen
Copy link
Collaborator Author

115 tests! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Initialization of vscode services can only performed once! Rerenders cause editor element to be recreated for MonacoEditorReactComp

4 participants