react-actioncable-provider
react-actioncable-provider copied to clipboard
Re-wrote Component to be more modern
I re-wrote the base Provider component to use the more modern syntax. I also re-write the <ActionCable> component completely, to be a HOC instead. I also improved the build process of the plugin itself. The build process requires some review, I used the install
hook, but i believe it is better to use the prepare
hook instead. This require update of the documentation as well, I can do this when i have a bit more free time.
To Do:
- Rewrite new tests to adhere to new plugin structure
- Update documentation to coincide with the new usage, and provide more detailed API usage
This requires a bit more work, but I made the PR to propose the new structure. Otherwise, I have package this as react-actioncable-provider-next
for testing
All the requested changes have been made, and some additional improvements that were necesary. This should also fix #12
Thanks! I will review and test later.
Thanks for your great work. That's big changes, I need more time to test.
Sorry for the delay, i have been quite busy. I will try and get these changes in this, and I made some other fixes in the mean time that were crucial.