umbrella

:umbrella: Lightweight javascript library for DOM manipulation and events (by franciscop)

Umbrella Alternatives

Similar projects and alternatives to umbrella

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better umbrella alternative or higher similarity.

umbrella reviews and mentions

Posts with mentions or reviews of umbrella. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-11-16.
  • Ask HN: Good resource on writing web app with plain JavaScript/HTML/CSS
    27 projects | news.ycombinator.com | 16 Nov 2022
  • The impact of removing jQuery on our web performance
    9 projects | news.ycombinator.com | 16 Aug 2022
    If you are mainly using jquery for its DOM manipulation¹ rather than for browser compatibility² or things that didn't exist consistently in older browsers³ then there are much smaller libraries that do that job which may be worth looking into. https://github.com/fabiospampinato/cash or https://github.com/franciscop/umbrella to give a couple of examples. Some explicitly support IE11 so you are not dropping as much support for legacy browsers as you might otherwise.

    Though if jQuery works for you and isn't a performance issue, then by all means keep with it. It may not be ideal, but good enough and does the job. Let the naysayers spend their time debating whether you should or not, and just get on with making things!

    ---

    [1] selection engine, chained selections, chained modifications, …

    [2] not the issue it once was, if you can abandon IE and old Android browsers from your supported UAs or can deal with any issues that crop up individually

    [3] again, if you can afford to drop support for legacy UAs

  • Gov.uk drops jQuery from their front end
    9 projects | news.ycombinator.com | 19 May 2022
    Yes, and if you continue long enough you end up with one of the many jQuery alternatives, like mine:

    https://umbrellajs.com/

  • Umbrella JavaScript: Tiny library for DOM manipulation and events
    1 project | news.ycombinator.com | 4 May 2022
  • Ask HN: Should I even bother with React?
    2 projects | news.ycombinator.com | 23 Jan 2022
    If you're learning React just to get a job, you're doing it wrong, since recruiters are always changing their requirements. They will add `proficient in Svelte` just to annoy you, (after having learning React) and now you're no longer relevant to them.

    That's why I say: stick to the baseline of HTML, CSS, & JS. Learn to write vanilla JS for common things, maybe learn UmbrellaJS[0] for syntactic sugar and manipulating the DOM.

    Oh and learn some APIs to do back-end stuff too. And for forms, there's loads of projects out there to automate that[1]

    [0] https://umbrellajs.com/

    [1] https://www.producthunt.com/search?q=forms

  • Make Front End Shit Again
    3 projects | news.ycombinator.com | 19 Jan 2022
  • Replacing jQuery (110kb) With UmbrellaJS (8kb)
    4 projects | news.ycombinator.com | 18 Jan 2022
    const insertAfter = (col, html) => col.forEach(el => el.insertAdjacentElement('afterend', html));

    Keep going a bit like that, until you realize you are basically reinventing jQuery. Add a couple of very nice-to-haves, like chaining (instead of nesting in these examples above) and that's exactly what Umbrella JS is, very thin methods to manipulate the DOM and handle events. In fact, compare our "addClass" implementation in this comment to [Umbrella's addClass](https://github.com/franciscop/umbrella/blob/master/src/plugi...), it's almost the same size but hundred times more flexible:

    // Add class(es) to the matched nodes

  • A note from our sponsor - InfluxDB
    www.influxdata.com | 25 Apr 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic umbrella repo stats
7
2,249
2.0
6 days ago

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com