react-flagpack
react-flagpack copied to clipboard
Broken release 1.1.0
Please check all that apply
- [ ] visual bug
- [ ] functional bug
- [x] able to consistently reproduce
Current Behavior
When Installed through npm install react-flagpack --save
- In a clean create react app (v17) empty flags are shown
- In a react 16.8 or higher existing app using a flag components crashes the app (quite a big app with webpack which i think actually causes the crash)
- in a clean create-react-app with react v16.x a blank flag is shown as well (step 4 in steps to reproduce)
Possible Solution
Seems like 1.1.0 was released yesterday, which is not tagged as the current release. It is installed through npm though when no version is specified.
So the easy fix is probably not making the 1.x branches available for now :)
Steps to Reproduce
npx create-react-app my-appnpm i react-flagpack- add
jsx <Flag code="NL" gradient="real-linear" size="m" hasDropShadow />to the clean app - a empty flag is shown:

same problem
same here as well
Thanks for noting this issue. I've been working on a fix for this but this required some drastic changes. See #42 for more details. Also, if you have any thoughts regarding this let us know, possibly here or on our discussion regarding tree-shaking.
While we still have some issues with react-flagpack, I've tested the latest build with an create-react-app and it rendered a Flag correctly. Can you confirm this issue has been solved?