lowcode
lowcode copied to clipboard
Codegen: 7c Generate routes (ETA 27.6.2021)
- [ ] reuse and improve logic #42 https://github.com/iteria-app/lowcode/blob/3a7d7b4525b4c71ea79943c6787b2aae2a74198f/packages/react-lowcode/src/routes/routeHandlers.ts
- [ ] manual and automated jeste tests on following examples
Examples
useRoutes
example-material-ui: https://github.com/iteria-app/example-material-ui/blob/96f7946a35db41023d598705bac0495651a09380/src/App.tsx#L13 https://github.com/iteria-app/example-material-ui/blob/96f7946a35db41023d598705bac0495651a09380/src/routes.tsx#L13
<Route>
example-ionic-react: https://github.com/iteria-app/example-ionic-react/blame/main/src/App.tsx#L98
example-grommet: https://github.com/iteria-app/example-grommet/blob/24c18e618b9860a886c0237e6b73eaff70d04568/src/index.tsx#L38
@mat-app:
- renamed:
generateListPage(),generateListComponent() - API params (please specify parameters - create pull request for an API before implementation) - this is important step for the integration
- Acceptance criteria - please write automated test against the API in the same pull request - this is important step for ensuring that requirements are fulfilled
@mat-app, ETA 27.6.2021 example-material-ui route - add to JSON
use in generatePages()