![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
github.com/sandersoncoelho/go-expert/multithreading
In this challenge we have an endpoint that called two external service, cepbrasil and viacep. The first service response to return, will be showed to the client, and the other service response will be discarded. We use go routines to called the both services simultaneously.
Run the server in a terminal
~/go-expert cd multithreading
~/multithreading go run cmd/server/main.go
Call the endpoint in other terminal passing the cep at the request http://localhost:8000/ceps/{cep_query}
curl http://localhost:8000/ceps/01153000
The response to the client must return which service has returned first as well its data, such as:
{
"serviceName":"brasilapi",
"data":{
"cep":"01153000",
"city":"São Paulo",
"neighborhood":"Barra Funda",
"street":"Rua Vitorino Carmilo",
"service":"open-cep"
}
}
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.