No need to use an external library like jquery. What is jquery suitable for?
- Element selection: You do not need to select elements for you to create them yourself, and you can store them in variables for later use. This is more efficient than moving the DOM later to get the element you are looking for.
- Animation: gwt has an animation class that you can easily use to animate the properties of CSS elements.
- Creating new elements: This can also be done using GWT.
- Events:. Can be done with GWT, plus you have a global eventbus and no need to abuse the window object like eventbus. Event delegation can also be done using GWT; see the source code of CellList to understand how to work with it in GWT.
Working with GWT for six months on a really big project, I did not see the need to use external libraries, such as jquery. The only thing we missed is drag'n drop, we use gwt-dnd for this.
source share