select2 VS cami.js

Compare select2 vs cami.js and see what are their differences.

select2

Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and infinite scrolling of results. (by select2)

cami.js

Cami.js is a simple yet powerful toolkit for interactive islands in web applications. No build step required. (by kennyfrc)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
WorkOS - 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
featured
select2 cami.js
29 8
25,768 363
0.0% -
2.0 9.5
7 days ago 17 days ago
JavaScript HTML
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

select2

Posts with mentions or reviews of select2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-13.

cami.js

Posts with mentions or reviews of cami.js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-11-13.
  • HTML Web Components
    14 projects | news.ycombinator.com | 13 Nov 2023
    Preact requires a build step otherwise you don't get JSX and you have to build applications a la mithril.js mode:

    > const app = h('h1', null, 'Hello World!');

    With Web Components no build step is required and you're still able to build JSX'ish code. See the code below this section: https://github.com/kennyfrc/cami.js#key-concepts--api

  • Cami.js - A No Build, Web Component Based UI Framework
    1 project | /r/javascript | 6 Nov 2023
  • Show HN: Cami.js – A No Build, Web Component Based Reactive Framework
    1 project | /r/hypeurls | 6 Nov 2023
    6 projects | news.ycombinator.com | 4 Nov 2023
    Yes, the lib's great!

    Unfortunately I haven't thought much yet about interoperability with other web components libraries like lit. I imagined folks would choose just one web component library over the other.

    That said, you can initialize reactive properties(1), but property bindings won't work if there's a parent LitElement (as my reactive properties need to be called with either a .value method or an .update method for getting and setting respectively).

    As of the moment, what's possible is interop with other cami elements using a store, and in a future version, i'm considering a richer event system for external javascript code to listen to.

    ---

    (1) Initializing is possible with observerableAttr: https://github.com/kennyfrc/cami.js/blob/master/examples/008...

  • Leaders Are Tool Builders: Why I Wrote My Own JavaScript UI Framework
    1 project | news.ycombinator.com | 5 Nov 2023
    The author is getting a bit of heat, and I think rightfully so. Here is the "tool" he's all bragging about: https://github.com/kennyfrc/cami.js/blob/master/src/cami.js

    The whole thing is 250 Loc half of which is comments. And not to discount on that (Redux itself is not that big, though the ecosystem is). But this tool/project could be just a few blog posts where the author explains the patterns/libraries he is using.

    It also doesn't help that his blog post/tool has the highest concentration of buzzword language you can expect. Please don't do that.

What are some alternatives?

When comparing select2 and cami.js you can also consider the following projects:

selectize.js - Selectize is the hybrid of a textbox and <select> box. It's jQuery based, and it has autocomplete and native-feeling keyboard navigation; useful for tagging, contact lists, etc.

ElementsJS - A lightweight DOM Manipulation library for VanillaJS

typeahead.js - typeahead.js is a fast and fully-featured autocomplete library

formio - A Form and Data Management Platform for Progressive Web Applications.

Choices.js - A vanilla JS customisable select box/text input plugin ⚡️

mini-van - Mini-Van: A minimalist template engine for DOM generation and manipulation, working for both client-side and server-side rendering (SSR)

chosen - Deprecated - Chosen is a library for making long, unwieldy select boxes more friendly.

marimo - A reactive notebook for Python — run reproducible experiments, execute as a script, deploy as an app, and version with git.

bootstrap-select - :rocket: The jQuery plugin that brings select elements into the 21st century with intuitive multiselection, searching, and much more.

Immer - Create the next immutable state by mutating the current one

jquery multi-select - A user-friendlier drop-in replacement for the standard select with multiple attribute activated.

webcomponents-blog-examples