react-pure-loaders / react-pure-loaders

React PureComponent loading animations

Home Page:https://reactpureloaders.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrading to Functional Component

shegz101 opened this issue · comments

commented

Is your feature request related to a problem? Please describe.
Trying to integrate into a project using Functional Components

Describe the solution you'd like
I was hoping there could be an upgrade for this to be compatible with projects that are using Functional Component. From the sample on how to import this tool, I noticed that it was done using Class Components, so I was thinking if we could upgrade it to FC.

Describe alternatives you've considered
Honestly, none.

Additional context
Add any other context or screenshots about the feature request here.

@shegz101 I can add this to the list of improvements.

Pull requests are always welcome. If you would like to put this together and do a PR, I would be more than happy to merge it.

commented

Alright @jameswlane I will doing that and creating a PR for it.

@shegz101 Awesome, thank you.

I will move to fix the pipeline and move it from CircleCI to GitHub Actions to the top of my list for the repo.

@shegz101 I started fixing the build process in this PR

Just need to fix half the test and it should be good to merge to master. It would give you a working app to start with.

commented

Alright, just keep me posted.

@shegz101 Once I get this fixed, I will have everything worked out. Emotion stopped working the way it used to. I have an issue open with them here

@shegz101, a friend (@murillomamud) of mine, came up with an alternative solution and will knock out a pr this weekend to fix the broken test till we figure out why emotion matchers are not working. The code repo should be ready to start working on by the end of the week.

commented

Okay, when everything is up and running I can come in and do the upgrade then you can merge it. Thanks.

@shegz101 You should be good to go for adding functional components. 👍 Thank you for working on this.

commented

Alright, I will look into it right away. Thanks.

commented

@shegz101 You should be good to go for adding functional components. 👍 Thank you for working on this.

Hello James, I will look into this today. My system crashed that's the issue have been facing for a while now. Would get it working hopefully today. Thanks for understanding.

That sound's good. It's not a huge rush; real life happens sometimes.

commented

That sound's good. It's not a huge rush; real life happens sometimes.

Alright.

commented

That sound's good. It's not a huge rush; real life happens sometimes.

Hello James, I just forked and cloned the repo. Looking forward to what's next. I would learn a lot via this contribution. It is my first open-source contribution and am so happy to be doing this, I would do everything it takes to learn a lot and get the issue fixed. Please, I will need your help a lot as I am new to lots of libraries used. Thanks.