![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.
@gooddata/data-source-management
Advanced tools
GoodData Datasource management helps you to connect your cloud data to our platform.
GoodData Datasource management helps you to connect your cloud data to our platform.
nodejs
yarn (also will work with npm, but we strongly recommend yarn)
With yarn installed, go to your project directory and run
$> yarn install --frozen-lockfile
If you are developing on a Mac or Linux machine, add gd-developer-portal.local to the end of the line starting withc 127.0.0.1 in your /etc/hosts file (you may need administrator/root privileges for that). Here is an example of how the /etc/hosts file may look on a Mac:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
127.0.0.1 gdc-datasource-management.local
Create .env file according to the example and set up the REACT_APP_CUSTOM_DOMAIN
variable to domain you are using for development. Make sure CORS are enabled on your dev domain for gdc-datasource-management.local
.
For development, you can use hot reloading by separately command
$> yarn dev-tiger
Access the app at https://gdc-datasource-management.local:3003/
The components in the package are supposed to be used as a plugin in another application. Therefore, they do not have their own SDK backend instance. The backend is expected to be provided from the app that uses the components. See the example in chapter below about how to do that.
When you make changes to the components, do not create new instances of the backend. Either use useBackend
hook to
get the backend
or tigerSpecificFunctions
instance or define service function or utility with parameter that can
be used to provide backend to the function.
Every backend call must be done via either backend
or tigerSpecificFunctions
instance from
@gooddata/sdk-backend-tiger
. The direct usage of @gooddata/api-client-tiger
(such as calling sdk.axios
and
making AJAX calls directly in the app) is not allowed! Such calls do not handle various errors states that
application, or in this case pluggable components, must react.
Import the styles somewhere in your app.
@import '~@gooddata/data-source-management/build/styles/main';
Then, use a component called "CreateEditDataSource" to create a new data source or to edit an existing one.
The component must be wrapped in a context provider that provides component with SDK backend instances and tiger specific functions object that is created when IAnalyticalBackend is initialized.
import { CreateEditDataSource, BackendProvider, ITigerSpecificFunctions } from "@gooddata/data-source-management";
const backend: IAnalyticalBackend = { ... };
const tigerSpecificFunctions: ITigerSpecificFunctions = { ... }
<BackendProvider backend={backend} tigerSpecificFunctions={tigerSpecificFunctions}>
<CreateEditDataSource
dataSourceType={<dataSourceType>}
dataSourceId={<dataSourceId>}
canDelete={true}
onDataSourceClosed={onDataSourceClosed}
onDataSourceSaved={onDataSourceSaved}
onDataSourceDeleted={onDataSourceDeleted}
/>
</BackendProvider>
(c) 2022 GoodData Corporation
This repository is under a BSD 3 license available in the LICENSE file.
FAQs
GoodData Datasource management helps you to connect your cloud data to our platform.
The npm package @gooddata/data-source-management receives a total of 0 weekly downloads. As such, @gooddata/data-source-management popularity was classified as not popular.
We found that @gooddata/data-source-management demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
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.