Comments (5)
Good catch. Going to read about this because my dist folder has an index.d.ts file rather than an index.js file and so I have to look at why that is significant. Will let you know when I figure it out.
from react-svg-worldmap.
Hey @devbucket,
After additional research, I am considering creating two packages for the worldmap: one optimized for typecript (the currrent worldmap) and one for the javascript users (compiled with the commonjs directive). This will keep the package size smaller for each consumer and therefore be more optimal than doing it all in one package. Would this approach work for your need? (I would include a link for javascript users in the README for the javascript package and vice versus).
Let me know,
Yams
from react-svg-worldmap.
Hey @yanivam,
Thanks a lot for looking into this. Yes, this would be perfect!
Thank you very much!
from react-svg-worldmap.
Hey @yanivam,
Can you tell me when I can try out the new package? I am still having issues with the current one since our project is not written in TypeScript.
from react-svg-worldmap.
Hey @devbucket,
I am going to add this to my backlog and keep you posted. I currently have been getting a lot of requests about features to implement/bugs and am also working two jobs while finishing my last semester of college so it is kind of hard to do all at once. After reading about this a little bit more I kind of understand the issue. I think the best way to communicate would be to email me rather than do it through chat so I can keep you posted. My email is: [email protected].
Thanks,
Yams
from react-svg-worldmap.
Related Issues (20)
- [BUG] no country color when all countries have the same value HOT 4
- [BUG] double click to zoom trigger the onclick event HOT 5
- [ENHANCEMENT] Export country list using ESM import HOT 3
- [BUG] Did the latest alpha break? HOT 8
- Kindly add all remaining countries to countries.geo.js HOT 6
- Map projection - Kamchatka Peninsula is cut out HOT 4
- How to inject HTML in tooltip HOT 4
- [BUG] Statistics map labels do not fit in boxes for RTL languages HOT 4
- Color Prop not working as expected with false-y values HOT 4
- [ENHANCEMENT] Convert your data into react-svg-worldmap supported JSON HOT 2
- [BUG] Strange tooltip behavior via using onClickFunction and tooltipTextFunction HOT 1
- [BUG] HOT 6
- [BUG] Can't use worldmap on yarn + vite + react HOT 5
- [BUG] problem with build next js app HOT 9
- [BUG] Cannot read properties of undefined (reading 'forwardRef') HOT 7
- [BUG] Ukraine does not include Crimea HOT 6
- [BUG] Failed to parse source map
- [BUG] Responsive size calculation is buggy HOT 1
- Hong Kong and Singapore are unreachable HOT 1
- Add Zoom and Pan capabilities HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-svg-worldmap.