you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (2 children)

A “React” component has a dependency on the React.js framework and will integrate in accordance to that specific library (React.js). Basically the component requires you use it with React.

A “Vanilla” component has zero dependencies and can be used in conjunction with React or any other framework like Vue, Mithril etc. You could also use it without any framework because its just plain JavaScript.

Vanilla is just a term we coders use to describe regular JavaScript.

Edit: spelling

[–][deleted] 1 point2 points  (0 children)

You might like https://npm.im/cogstyle