cboard icon indicating copy to clipboard operation
cboard copied to clipboard

Update context provider components

Open wilitp opened this issue 3 years ago • 2 comments

Change context provider class components for functional components.

I could work on this!

wilitp avatar May 01 '21 16:05 wilitp

looping @shayc here. @wilitp what should be the advantage of using functional components for context providers?

martinbedouret avatar May 03 '21 03:05 martinbedouret

More up to date usage of the API and possibly leaner code. Also ease for future newcomers, that may be more familiar with function based components, to contribute.

wilitp avatar May 03 '21 21:05 wilitp