RTK: composable React integration. #3048
nandin-borjigin
started this conversation in
Ideas
Replies: 1 comment 3 replies
-
This would require a complete architectural rewrite and is not feasible. Have you considered some kind of
Your application would then create an api and call |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the React integration for RTK is done by replacing the UI agnostic package entirely. It is very intrusive from an architectural point of view because we'd really like to keep our business logic layer absolutely UI agnostic. With the current integration approach, we can only choose to either:
It'd be great if we can write the api endpoints in the business layer and also use them in business layer (via UI agnostic way) and then can wrap the endpoints with some utility function to make react hooks to use in the UI layer.
Beta Was this translation helpful? Give feedback.
All reactions