Comments (2)
Short answer, quoting myself from earlier this year:
It's not part of the GopherJS organization because I believe in an open and independent ecosystem and don't think that everything GopherJS-related has to live in that organisation.
Longer answer: I consider js/dom
my project. I'm the only gatekeeper (person who can accept changes, make final decisions and so on). Projects in organisations, on the other hand, are joint projects where multiple people (optimally a large subset of the people involved in the organisation) have equal voices. And that's fine for certain projects, but I think it's the wrong approach for libraries such as this one.
I think it would be wrong to consider, or even push, js/dom
as the "official" DOM bindings for GopherJS. They're probably the de facto standard ones right now, but they should be so on their own merit. If someone else comes up with a way better alternative one day, its success shouldn't be hindered by the fact that it's a "3rd party", while mine would be "official" or "endorsed".
I know that not everyone shares my opinion on this and would probably prefer if js/dom
was part of the GopherJS organization. However, it's probably too late to make that decision now, anyway. If it were moved to the organisation, it should probably lose its vanity import path (honnef.co/go/js/dom
) and instead be github.com/gopherjs/dom
or something similar. That, however, would break a lot of existing code.
I hope this clears up why it's the way it is.
from go-js-dom.
Yep, that clears up all my questions! It sounds like you've already thought it all through and found it to not be the correct choice, and I trust your judgement here. I appreciate the prompt and descriptive answer @dominikh 😄
from go-js-dom.
Related Issues (20)
- Using HTML5 history gives a nil reference error HOT 1
- v2: Create with support for both GopherJS and GOOS=js GOARCH=wasm. HOT 14
- "go get -u honnef.co/go/js/dom" fails HOT 2
- go get honnef.co/go/js/dom HOT 1
- DispatchEvent of "Click"/"Change" HOT 1
- HTMLTemplateElement is missing?
- Feature Request: Element.closest()
- Missing: HTMLDialogElement, HTMLSlotElement, HTMLPictureElement HOT 1
- WheelEvent inherits MouseEvent
- Cannot load honnef.co/go/js/dom/v2: no Go source files HOT 1
- feature request: indexeddb interface
- adoptNode is missing "deep" param
- v2 does not compile with go1.14 HOT 2
- v2: CreateTextNode() panics HOT 3
- v2: unable to DrawImage HOT 3
- v2: RequestAnimationFrame callback argument type misleading HOT 1
- Missing `Children` method on `dom.Element`
- Adding event type strings to use with `AddEventListener`
- go install honnef.co/go/js/dom/v2@latest yields an error message: HOT 1
- Add Element.ReplaceChildren HOT 1
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 go-js-dom.