-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Implement a working version of React Flagpack #72
base: main
Are you sure you want to change the base?
Conversation
CLOSES: Export Props interface #55
@CodiumAI-Agent /review |
PR Review
Code feedback:
✨ Review tool usage guide:Overview: The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.
See the review usage page for a comprehensive guide on using this tool. |
Is this going to be merged at some point in the near future?🤞 @zoeyfrisart |
@tnmdynamiq I certainly hope so, but it needs a review from the rest of our dev team. |
Thank you very much for clarifying! Much appreciated, I will keep my eye out for it. |
would love for this to be merged soon |
This version implements a CLI that will auto-inject the flags into the static folder of a given project.
(Could be improved in the future to auto-detect the framework/static folder of a project)
This rework works by removing the dynamic required implementation that was not only causing issues but was also not tree-shaking correctly when looking at the resulting bundle.
This new implementation should work properly in:
Other frameworks have yet to be tested.
Also, I took the time to refactor the build process to vote instead of the roll-up.
Also exports the props interface to make the component easier to use with TypeScript
CLOSES: #69 #70 #58 #55 #47 #40
Possibly fixes: #45 & #46 but that needs more testing
This change is a breaking change that would also require changes to the flatpack website documentation (and requires changes on the user's part). I have marked this as a breaking change, which means the version will increase to 2.0.0