lorawan-stack icon indicating copy to clipboard operation
lorawan-stack copied to clipboard

Remove `api` usage in UI components

Open bafonins opened this issue 5 years ago • 0 comments

Summary

We should remove usage of the api module in UI components.

Why do we need this?

Separate UI and api usage.

What is already there? What do you see now?

api used via redux middleware (preferred) api passed via redux connect function api used directly in UI compoennts

What is missing? What do you want to see?

api is still used in react components:

How do you propose to implement this?

Move api usage to redux middleware or pass api functions via connect.

Can you do this yourself and submit a Pull Request?

yes

bafonins avatar Sep 29 '20 08:09 bafonins