chore: Atualiza o react para o v18 (18.3.1) e outras libs necessarias#83
Merged
Conversation
nerissa-aguirre
approved these changes
Oct 15, 2025
JoaoAraujoGato
approved these changes
Oct 16, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
card
Eu não pude atualizar o react diretamente no geolabor porque o RBU tinha uma peer dependecy no react 17. Este PR é para subir a versão do react no RBU, para liberar a subida da versão no geolabor..
Com a mudança da v17 para a v18, o HMR que usavamos no demo teve que ser substituido pelo react-refresh.
aviso
No react 18.3, temos varios warnings de deprecação. Acho que a maioria é sobre o defaultProps que vai ser removido na v19 junto com o PropTypes. Vamos ter que olhar eles com o tempo antes de subir mais as versões.
Ao revisor
Eu sofri um pouco para fazer essa atualização. Os gpts me fizeram dar algumas voltas quando tentei atualizar o minimo possivel. Então desisti de mexer o minimo e atualizei o rollup junto.