53 karma · joined June 3, 2016
https://www.iza.org/publications/dp/13388/black-lives-matter...
> "we find no evidence that urban protests reignited COVID-19 case growth during the more than three weeks following protest onset. We conclude that predictions of broad negative public health consequences of Black Lives Matter protests were far too narrowly conceived."
https://www.nelp.org/wp-content/uploads/2015/03/BrokenLawsRe...
https://www.deseret.com/2014/6/24/20543670/wage-theft-how-em...
But in this case, the radix is _not_ omitted. The map function passes the index of the current iteration as the second parameter to the function it is passed. It is kinda like this: ``` ['1','7','11'].map((item, index) => parseInt(item, index))
2. Not exactly. In JS, every file with an "import" or "export" statement somewhere is its own module.
3. You can write code like this for the browser. Most browsers support ES modules now. However, you do need a bundler tool like Webpack if your code depends on other node modules.
I had to use a lot of platform-specific imports (eg: `index.ios.tsx`/`index.web.tsx`) to replace anything mobile-specific, and there are some cases where you need platform-specific UI components as well to make everything look nice on larger screens.
My only complaint is it gets a bit messy having all these different entry points and platform-specific modules and whatnot. Overall, it's probably the best you can hope for to write an app for mobile + web with ~80-90% _actual_ code sharing.
https://marketplace.visualstudio.com/items?itemName=wix.vsco...