DEV Community

Discussion on: Are there modern JavaScript frameworks without NodeJS dependency?

Collapse
 
curiousdev profile image
CuriousDev

I also wanted to put here Vue and also thought this should be possible with others, like React.
It is possible, that the author refers to something like a CLI, which could use Node to set up a project.

Collapse
 
mikevv profile image
MikeVV

My idea is to not to have dependency to node/npm at any stage.
From comments is see good options with:

  • Vue
  • AngularJS
  • lit (if it possible to use it via unpkg)
  • and svelte (also via unpkg)

Looks like now I need to check above 4 frameworks more closely.

Thread Thread
 
miketalbot profile image
Mike Talbot ⭐

@mikevv Don't use AngularJS - it's kinda deprecated. As I mentioned React works out of the box in the browser.

Thread Thread
 
mikevv profile image
MikeVV

Thank you, will take a closer look to React in browser 🙂

Collapse
 
miketalbot profile image
Mike Talbot ⭐

Agreed, but that is certainly not necessary for React. You can just get going in the browser - if you want JSX then you need to get the in browser transpiler, but plain old React is fine without it and that doesn't require Node - it's an "in browser" babel thing.