jsx-dom
babel-plugin-jsx
jsx-dom | babel-plugin-jsx | |
---|---|---|
2 | 6 | |
270 | 1,689 | |
- | 1.1% | |
6.9 | 8.3 | |
about 1 month ago | 4 days ago | |
TypeScript | TypeScript | |
BSD 3-clause "New" or "Revised" 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.
jsx-dom
-
jQuery v4.0.0 Beta
Fully agreed. I built a mostly vanilla JS app using a bare bones JSX lib[1] a few months ago and was surprised at how little I missed the rest of React.
[1] https://github.com/alex-kinokon/jsx-dom
-
State of JSX in JavaScript Frameworks
Sure, you can use JSX without a framework! Be it MobX JSX, dom-chef or jsx-dom, it should feel right at home.
babel-plugin-jsx
-
Can you give me an idea on how to implement this in vue?
It's also possible to use JSX, as OP's example, using https://github.com/vuejs/babel-plugin-jsx
-
State of JSX in JavaScript Frameworks
Even though templates (or let’s say, SFC) is the dominant way to author Vue components, decent JSX support is also provided for both Vue 2 and Vue 3.
-
The self-fulfilling prophecy of React
I agree - I think JSX does what templating languages have been trying to do for years.
That being said, solid is hardly the only one out there competing that can use JSX:
- https://github.com/vuejs/babel-plugin-jsx
- https://mithril.js.org/jsx.html
- https://preactjs.com/guide/v10/getting-started#setting-up-js...
-
Have been using Vue.js for a while but decided to learn React because of how popular and demanded it is. Not trying to bash React but I can't get over the funkyness of JSX and a couple of other aspects. Everything seems more complex and cumbersome than how it's done in Vue.js. Am I just biased?
Apologies, my link above was the incorrect bookmark... that was for Vue 2. Here is the correct link for vue3: https://github.com/vuejs/jsx-next
-
Vue with TSX - the perfect duo!?
In a nutshell, you once again have to add jsx: “preserve” to your tsconfig.json and do some changes in your Babel config (it’s a plugin this time):
-
Has anyone used JSX with Vue 3?
This exists and works fine - I am using TSX and getting type checking around props etc etc, all the things you'd expect.
What are some alternatives?
sendight-frontend - P2P File sharing
vite - Next generation frontend tooling. It's fast!
TypeScript-DOM-lib-generator - Tool for generating dom related TypeScript and JavaScript library files
Immer - Create the next immutable state by mutating the current one
callbag-jsx - callbags + JSX: fast and tiny interactive web apps
immutable-js - Immutable persistent data collections for Javascript which increase efficiency and simplicity.
keybinder - This is a Javascript library that helps with listening to browser Keyboard changes, and also helps in managing keyboard shortcuts in the browser. browser keyboard controller
htm - Hyperscript Tagged Markup: JSX alternative using standard tagged templates, with compiler support.
dom-chef - 🍔 Build DOM elements using JSX automatically
volar - ⚡ Explore high-performance tooling for Vue [Moved to: https://github.com/vuejs/language-tools]
jsx-vue2 - monorepo for Babel / Vue JSX related packages