Comments (3)
Maybe the best idea would be to release the ES5 version first with all the methods and features you want implemented. This could be, lets say 1.0.0 version. The 2.0.0 version would target ES6 and use generator functions. It would allow users to choose what to use without splitting the project and the user-base unnecessarily.
from linq-collections.
Yep, I have been thinking about this for a long time.
My conclusions were:
- I would like to use [Symbol.Iterator] and generator functions in the library
- Those are part of ES6, but this library is targetting ES5
I don't know if there is any way to disable some parts of the code depending on the target (maybe with gulp?). It would be very nice to achieve this, but I have no idea how. Any ideas?
The best idea I have is to create a fork of this repo (and new package) targetting ES6
from linq-collections.
working on this (part of v2 refactor)
from linq-collections.
Related Issues (20)
- ToLookup HOT 1
- SequenceEqual
- SkipWhile HOT 2
- Configure webpack + gulp + browser exports
- Zip HOT 1
- DefaultIfEmpty
- Hash and Equality HOT 1
- More overloads using comparers HOT 1
- GroupBy uses inmediate execution instead of deferred HOT 1
- Proper iterator testing
- Add proper deferred execution testing HOT 1
- Fix TsLint HOT 1
- Make List implements IEnumerable HOT 1
- I cloned the source and a error has occur. HOT 5
- warning when building HOT 2
- Is this project still actively maintained or dead? HOT 1
- How to group by multiple keys and select those keys?
- `readonly RowAccessor[]` is not assignable to parameter of type `RowAccessor[]` ?
- Error: No "exports" main defined in ...\node_modules\linq-to-typescript\package.json
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 linq-collections.