raiden-network / raidex

MIT License
9 stars 5 forks source link

Reduce component libraries #79

Open fredo opened 5 years ago

fredo commented 5 years ago

Current status seems to have different libraries in use increasing complexity.

In particular there is bootstrap which pulls jquery, a material theme for bootstrap, angular material and primeng.

kelsos commented 5 years ago

My suggestion would be to figure out which of the component libraries fits better the project needs feature wise and stick with it, either primeng or angular-material.

If bootstrap cannot be removed completely, I would suggest stripping its functionality to the bear minimum. For example just keep the parts of the css for the grid system. Since the layout is already structured with bootstrap and it would require some effort removing it. I would suggest removing any dependency to the javascript/jquery based libraries of boostrap.

Alternatively for layout structuring there is the flex-layout

All the functionality provided by bootstrap through javascript should be covered by either primeng or angular-material already.