-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updating to node ES6 #41
Comments
that would interest me. |
i am more concerned with going forward and performance than backwards compatibility, to be fair - which may mean misaligned goals. for example, I am currently looking at deprecating jquery-ui and event.drag/drop stuff in favour of http://interactjs.io/ - interact.js is very small, portable, framework agnostic, performant and touch friendly. the only awkward stuff is sortables, which may remain using bower depends on a combo of github tagged releases + support for that can work fine. in terms of npm deps, it works fine but because it's effectively closures and multiple versions of the same package can exist (unlike bower flattening all deps), things that rely on extending globals like anyway, will keep you posted and show you a more stable version soon, it's a few of us looking at it so we should have some progress soon. |
+1, switching to npm just makes life easier for everyone. and bower feels like legacy these days. and if this is released as a major version bump then it is quite clear that there are potential breaking changes (re: semver) |
it may be time to create a new repo for the forward-looking fork and diverge from the backwards compatible one. i understand that it's probably not possible to keep both in the one fork. |
yeah agreed re bower. as for deprecation of event.drag, I have fully I don't mean cut the umbilical cord but keep the top level API intact, more will post something when I have it working, a few issues around edge cases On Thursday, 21 July 2016, Ben McIntyre [email protected] wrote:
Dimitar Christoff "JavaScript is to JAVA what hamster is to ham" |
ok this now works on my remote branch. https://github.com/DimitarChristoff/slickgrid-es6/tree/interact-js - you can play with it by forking repo, checking out the branch and running https://github.com/DimitarChristoff/slickgrid-es6/pull/1/files is the diff - once again, WIP but it now has column reorder and resize and no external deps other than interact.js then open http://localhost:8888/ and pick an example like 1 or 3 and play with it. hot reloading is enabled. |
Thanks Dimitar, I have now completed integration of the updates for the existing repo to work with jQuery 3. I'm now tidying up some of the smaller issues. Since your changes are major, I'll probably look at them in a couple of weeks. Just keeping you in the loop. |
+1. I simply would like to see this awesome library can support AMD-like environment. And I found a possibly unmaintained repo (https://github.com/sortex/amdjs-SlickGrid). It's not been updated since several years ago and definitely is lack of new features from this repo. Can we expect some solution on making this well-maintained library work with AMD-like environment? (No well-trained developer/engineer likes global variable pollutions nowadays) :) |
@ZheyangSong we have had a few requests for various package managers, which I'm working through. |
you can use UMD and set build target to that but it can be annoying when On Tuesday, 23 August 2016, Ben McIntyre [email protected] wrote:
Dimitar Christoff "JavaScript is to JAVA what hamster is to ham" |
@DimitarChristoff Great work. I am already using the your fork in one of my projects. At which version did you fork this repo ? |
Better late than never, this issue has been resolved in v5.0, our source code was migrated to TypeScript and we now use esbuild to build 3 different build targets ( |
So, not sure if this is a desired goal or not but...
Consumption of SlickGrid in a modern project that is driven by
npm
and built via webpack/babel/ES6 can be a pain in the backside, given the reliance on globals, order of loading, lack of implicit dependencies.I got annoyed and took out the bits from the repo one by one and added them to a new repo, converting in the process.
It's WIP - https://github.com/DimitarChristoff/slickgrid-es6 - but it occurs to me, it can probably be done as a fork of this instead of a fresh standalone effort. If this sort of direction is something of interest, ping me and we can convert and do stuff as a pull request and an actual fork of 6pac/SlickGrid.
TL;DR; took your repo, made it work with node/ES6, removed IE8, moved to jquery 3.1.0, all deps are npm, works fine in React or whatever.
The text was updated successfully, but these errors were encountered: