Comments (2)
In this case, TypeScript compiler(tsc) is also a bundler to me.
IMO, A bundler is inevitable while using JSX.
from nerv.
By bundler I meant some tool to combine all source files to a single package, TypeScript still is a transformer which is not really required. If we write source code in esnext syntax we even do not need to transform them. In order to do that we just need .js
extension in import directives.
Take a look at this modified nerve version:
https://github.com/malekpour/nopack/blob/master/src/external/nerv/index.ts
The result will be ready to use without being bundled or transformed in development time. Can even be hosted and referenced from a CDN.
from nerv.
Related Issues (20)
- jest 多个Effect的时候报错
- jest useEffect中 代码没执行
- [Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL> HOT 1
- 请问现在最新版还能兼容IE8否 HOT 1
- redux无法在ie8 下使用
- this.forceUpdate()
- devtools error HOT 1
- react hooks support? HOT 1
- [bug] portal里的事件没有正确冒泡 events triggered in portal are not propagated
- Suspense / Lazy Support HOT 3
- nervjs1.4.0版本之后safari浏览器,iphone webview里input中文输入异常
- setState的回调函数中再次setState,第二个setState回调函数无法及时获取设置后的值 HOT 4
- nerv和百度地图js sdk 一起使用的时候会死循环
- 【讨论贴】给React加上强制刷新,是种什么体验? HOT 3
- nervjs 1.5.7 typings 路径错误 HOT 1
- nerv-test-utils的api:findRenderedDOMComponentWithClass问题
- [Version 1.5.7] cannot resolve the typing file
- Is that the project name got from EVA? NERV -_-!
- classComponent
- 无法兼容ie8
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 nerv.