-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* refactor(redux): sw-625 remove connectRouter (#1045) * refactor(config): sw-625 generate routes (#1045) * refactor(useRouter): sw-625 combine routerContext (#1045) * refactor(routerContext): sw-625 useRedirect hook
- Loading branch information
Showing
66 changed files
with
4,293 additions
and
2,179 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ | |
"hoverable", | ||
"ibmpower", | ||
"ibmz", | ||
"iife", | ||
"ipsum", | ||
"keycloak", | ||
"kubernetes", | ||
|
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
import React from 'react'; | ||
import { Provider } from 'react-redux'; | ||
import { BrowserRouter } from 'react-router-dom'; | ||
import { routerHelpers } from './components/router'; | ||
import { store } from './redux'; | ||
import App from './app'; | ||
import './styles/index.scss'; | ||
import '@patternfly/react-styles/css/components/Select/select.css'; | ||
|
||
const AppEntry = () => ( | ||
<Provider store={store}> | ||
<BrowserRouter basename={routerHelpers.dynamicBaseName()}> | ||
const AppEntry = () => { | ||
console.log('>>> APP ENTRY LOAD >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>'); | ||
return ( | ||
<Provider store={store}> | ||
<App /> | ||
</BrowserRouter> | ||
</Provider> | ||
); | ||
</Provider> | ||
); | ||
}; | ||
|
||
export { AppEntry as default, AppEntry }; |
This file contains 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
Oops, something went wrong.