hyperapp
Protractor
Our great sponsors
hyperapp | Protractor | |
---|---|---|
18 | 19 | |
19,028 | 8,762 | |
- | -0.0% | |
2.9 | 0.0 | |
3 months ago | 10 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
hyperapp
-
VanJS (Vanilla JavaScript): smallest reactive UI framework
Please check out https://github.com/jorgebucaran/hyperapp
- Show HN: Dak – a Lisp like language that transpiles to JavaScript
-
Espresso.js – minimal React alternative – is now a decade old
The likely reason it never caught on, is that it has similar pitfalls as Backbone:
- manually attaching DOM elements to view controllers
- manually attaching child views
- models which have to be wired individually via .listenTo
- possibility of infinite loops if the events accidentally recurse
A better tiny alternative would be hyperapp[1] or even Preact, that has a similar bundle size.
-
How hard is it to get a Mid FE position without any commercial framework experience?
If they're focused on performance and bundle size, it's your chance to try some minimalistic exotic stuff like hyperapp (https://github.com/jorgebucaran/hyperapp) or mithril (https://mithril.js.org/) Just for fun
-
AlpineJS
With a bit of a deadline (due to a mixture of procrastination and confidence that Vue would work) I needed something quick. I have also used Hyperapp in the past but that looks like a dead project right now (although arguably it has all the functionality you need so why keep developing it?).
-
What I learned working with a senior engineer as a new grad
I’m glad it left that impression! My thoughts have clarified a bit since I read that post, and I think what I describe is more declarative, like React. But the best places to read about it (for web devs) are in Elm!
There is also this new thing I found that seems to really lean into the core of what being functional means here: https://github.com/jorgebucaran/hyperapp
After a while, you see that basically all systems can be modeled as event-driven, functional systems. It’s a flexible model, and fits beautiful into web dev where the semantics are very clear: the system is the web app and events are clicks, keyboard events, asynchronous calls...
-
Best JS library/bundler combo for ABSOLUTE MINIMUM production build size possible
Hyperapp is 1kb.
-
What's your favorite frontend framework?
- Hyperapp (https://github.com/jorgebucaran/hyperapp) - Preact - Svelte - React / Vue
-
Popular 'coa' NPM library hijacked to steal user passwords
Personally, I try my best to avoid bringing in dependencies as much as possible, and try to limit my exposure to only dependencies with low/shallow transitive dependency counts. Unfortunately, this is pretty hard, especially in corporate settings. What we need more of are the opposite of what we've been collectively praising: we need more monolithic packages. Case in point: lodash.template is currently vulnerable with no mitigation, even though lodash itself is not. That's just sloppy publishing practices. Esbuild is a great start over the webpack/babel maze of dependencies. There's a stdlib effort along those lines that hopefully would also help. There's a bunch of micro-frameworks that are used in production just fine and have little to no dependencies.
-
Angular Is Rotten to the Core
Even better than JSX is straight up hyperscript or something like @hyperapp/html[1]. JSX feels like a cumbersome attachment in comparison.
[1] https://github.com/jorgebucaran/hyperapp/tree/main/packages/...
Protractor
-
Introduction to Cypress and UI Test Automation
Cypress is a next-generation front-end Automation testing tool built for modern web applications. It is a JavaScript-based end-to-end testing framework and is known for faster test execution as compared with other testing tools (like Selenium or Protractor).
-
Overview over Angular’s repositories
Protractor repo (link)
-
Nx 14.5 - Cypess v10, Output globs, Linter perf, React Tailwind support
Protractor has been deprecated for a while on the Angular CLI side and given Nx has had Cypress support for a while it has never been a popular choice. Starting with this release we're deprecating the generator for setting up Protractor and we're planning on removing support entirely in Nx v15.
-
Help with automatization
The Protractor testing framework was created for e2e testing of Angular apps. https://www.protractortest.org/
- Unit testing library for Angular application
-
Angular 12 in Depth
As explained in the announcement, back in 2013 when Protractor was created, WebDriver was not a standard, and end-to-end (e2e) tests were hard to write, and a nightmare to maintain. Protractor brought an innovative solution by wrapping selenium-webdriver, and provided a way to control the execution flow.
In April, the Angular team has announced plans to end the support of Protractor at the end of 2022.
-
Looking for some advise/direction on a new testing framework
"The Angular team plans to end development of Protractor at the end of 2022 (in conjunction with Angular v15)." - https://github.com/angular/protractor/issues/5502
-
What UI testing framework do you use and what do you like/dislike about it?
Angular will deprecate Protractor soon https://github.com/angular/protractor/issues/5502
-
Angular and WireMock integration for UI testing
https://www.protractortest.org/ Large scale Angular testing with Protractor | Andres Dominguez | BuzzJS Summer 2016
What are some alternatives?
Playwright - Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
WebdriverIO - Next-gen browser and mobile automation test framework for Node.js
TestCafe - A Node.js tool to automate end-to-end web testing.
jest - Delightful JavaScript Testing.
Cypress - Fast, easy and reliable testing for anything that runs in a browser.
Preact - ⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
Nightmare - A high-level browser automation library.
jasmine - Simple JavaScript testing framework for browsers and node.js
tape - tap-producing test harness for node and browsers
DalekJS - [unmaintained] DalekJS Base framework
mocha - ☕️ simple, flexible, fun javascript test framework for node.js & the browser
riot - Simple and elegant component-based UI library