Title: [Discussion] How to create bussiness logic components? · Issue #218 · patternfly/patternfly-react · GitHub
Open Graph Title: [Discussion] How to create bussiness logic components? · Issue #218 · patternfly/patternfly-react
X Title: [Discussion] How to create bussiness logic components? · Issue #218 · patternfly/patternfly-react
Description: Since patterfly is our main pattern library framework and react is starting to be used accross multiple projects it would be nice to create couple of business logic components, e.g. more complex components to be used accross multiple pro...
Open Graph Description: Since patterfly is our main pattern library framework and react is starting to be used accross multiple projects it would be nice to create couple of business logic components, e.g. more complex co...
X Description: Since patterfly is our main pattern library framework and react is starting to be used accross multiple projects it would be nice to create couple of business logic components, e.g. more complex co...
Opengraph URL: https://github.com/patternfly/patternfly-react/issues/218
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Discussion] How to create bussiness logic components?","articleBody":"Since patterfly is our main pattern library framework and react is starting to be used accross multiple projects it would be nice to create couple of business logic components, e.g. more complex components to be used accross multiple projects.\r\n\r\nThis repository is really great way how to style and create multiple components as building blocks for each application. However it lacks some more complex components which can be used in bigger projects. Let's take as example tagging component, which is used accross multiple projects, but it lacks complex and mainly unified UX design patterns.\r\n\r\n### Possible sollutions\r\n\r\nFrom my point of view we have two ways of how to deliver such complex and unified components to multiple projects\r\n\r\n#### 1. Create components in this repo (current state)\r\nDrawback of this sollution is that this repository will get big and eventually it will mean loading a lot of JS just to use simple components (I know that treeshaking should take care of it, but why rely on it). Plus we can't create components which are using redux because this repository is not setup in a way of exposing redux related things.\r\n\r\n#### 2. Create new repository which would use basic patternfly react components (porposition for discussion)\r\nDrawback may be that eventually components in such repo might be forgotten. But we could expose much more things in such repo and build on top of simple components created in [patternfly-react](https://github.com/patternfly/patternfly-react), use redux, expose actions and reducers and use them in final application. We used to have something similiar for angular's components called [ui-components](https://github.com/manageIq/ui-components), I started to work on react related components which might be used in ManageIq, however I feel like these components should be part of patternfly.\r\n\r\n### Conclusion\r\nBasically what I propose is shared GH repository for multiple teams where they'd create their complex components which can eventually be shared amongst others.\r\n\r\nRepo which is in process of setting up [react-ui-components](https://github.com/karelhala/react-ui-components/), lot's of things are still missing (mostly CI/CD), but basic understanding of how this can be used can be seen there.","author":{"url":"https://github.com/karelhala","@type":"Person","name":"karelhala"},"datePublished":"2018-02-13T13:23:04Z","url":"https://github.com/patternfly/patternfly-react/issues/218"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:47279963-d6aa-ffae-16f9-7f5a348ebc7d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E574:2AF6F7:13548:1A229:6B009375 |
| html-safe-nonce | 99a74a77de28790847083d4c2a209fc456f9de8333dfe5882760780301cfaa6e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNTc0OjJBRjZGNzoxMzU0ODoxQTIyOTo2QjAwOTM3NSIsInZpc2l0b3JfaWQiOiI1OTQ2NzA2ODUyODkyMjMwMjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | c94f9f90d122f301aa58ead211db81ed931e364ccd7e2f919d8867fae76c2937 |
| hovercard-subject-tag | issue:296734958 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/patternfly/patternfly-react/218/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b796ec5e224124051dee698937e9a13f0a0d57bca9709568c9e669695af43195/patternfly/patternfly-react/issues/218 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b796ec5e224124051dee698937e9a13f0a0d57bca9709568c9e669695af43195/patternfly/patternfly-react/issues/218 |
| og:image:alt | Since patterfly is our main pattern library framework and react is starting to be used accross multiple projects it would be nice to create couple of business logic components, e.g. more complex co... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | karelhala |
| hostname | github.com |
| expected-hostname | github.com |
| None | c710a5cb5c47be60abfe6e8410436d409906979dbed614ef09f29c60f5535b08 |
| turbo-cache-control | no-preview |
| go-import | github.com/patternfly/patternfly-react git https://github.com/patternfly/patternfly-react.git |
| octolytics-dimension-user_id | 6391110 |
| octolytics-dimension-user_login | patternfly |
| octolytics-dimension-repository_id | 84372347 |
| octolytics-dimension-repository_nwo | patternfly/patternfly-react |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 84372347 |
| octolytics-dimension-repository_network_root_nwo | patternfly/patternfly-react |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | be616a2a6ec1c609d6e002896dff5352d5c5f28b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width