Comments (5)
No, it absolutely should not be - npm explore foo && npm install && npm test
should always work. The RNP has a flaw in that it transpiles node_modules, and the proper place for a workaround is a postinstall script in your top-level app that removes all .babelrc
files from your node_modules
.
from react-with-styles.
No worries - untranspiled npm packages shouldn't exist; it's a flaw in the RN ecosystem that it's encouraged and allowed.
from react-with-styles.
Definitely not true - older syntax is almost always faster than newer syntax, because older syntax has had time to be optimized.
from react-with-styles.
Ok, thanks for the tip. I thought .babelrc
is unnecessary for a transpiled npm package. :)
from react-with-styles.
I also had the impression that untranspiled code would perform better if it's natively supported but that's not true. So I get your point that all packages should be transpiled and there shouldn't be a need for RN packager to touch node_modules.
from react-with-styles.
Related Issues (20)
- An in-range update of enzyme is breaking the build 🚨 HOT 8
- How can I access child functions? HOT 1
- An in-range update of babel-preset-airbnb is breaking the build 🚨 HOT 2
- How to write hover effect HOT 1
- Contextualized theme ? HOT 1
- An in-range update of enzyme is breaking the build 🚨 HOT 1
- How can I return a react component using withStyles? HOT 2
- An in-range update of eslint-plugin-react is breaking the build 🚨 HOT 2
- Provide a `useStyles` method for using with React Hooks API HOT 5
- An in-range update of eslint-plugin-import is breaking the build 🚨 HOT 2
- An in-range update of eslint-plugin-jsx-a11y is breaking the build 🚨 HOT 2
- .git included in npm distribution in version 3.2.2 HOT 4
- how to get styles object into class type component that extends React.component HOT 5
- An in-range update of eslint-plugin-import is breaking the build 🚨 HOT 3
- Uncaught TypeError: Super expression must either be null or a function HOT 1
- An in-range update of eslint-plugin-react is breaking the build 🚨 HOT 2
- Selectors in CSS/JS not working as expected
- Context provider does not provide the interface HOT 1
- Add testing on React 17, once Enzyme has an adapter for it
- how to access children styles HOT 2
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-with-styles.