![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/agrendalath/holiday-offers-in-go
A simple API written in Go for filtering holiday offers retrieved from external API.
You can run the API with:
go run *.go
It runs on port 8080.
If you want to view uncompressed response in pretty form, you can pass debug=true
query param.
The only endpoint retrieves data from external API. You can use query params for filtering results.
URL
/v1/
Method:
GET
URL Params
debug = [bool]
earliest_departure_time = [%H:%M]
earliest_return_time = [%H:%M]
max_price = [numeric]
min_price = [numeric]
star_rating = [numeric]
Success Response:
{
"offers": [
{
"Hotelname": "Catalonia+Punta+Del+Rey",
"Inboundarr": "23/08/2018 00:20",
"Inbounddep": "22/08/2018 20:05",
"Inboundfltnum": "LS1664",
"Outboundfltnum": "LS1663",
"Sellprice": "510.62",
"Starrating": "4"
},
{
"Hotelname": "Catalonia+Las+Vegas",
"Inboundarr": "23/08/2018 00:20",
"Inbounddep": "22/08/2018 20:05",
"Inboundfltnum": "LS1664",
"Outboundfltnum": "LS1663",
"Sellprice": "518.81",
"Starrating": "4"
}
],
"summary": {
"average_price": 514.71,
"cheapest_price": 510.62,
"most_expensive_price": 518.81
}
}
Error Response:
Code: 400 Bad Request
Content: "Unknown parameter: {key}"
OR
Code: 400 Bad Request
Content: "{value} is not valid value for {key}"
OR
Code: 400 Bad Request
Content: "Invalid time format for {key}"
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.