2.0.0-beta.0.0.3 • Published 1 year ago
bluejsx v2.0.0-beta.0.0.3
Welcome to BlueJSX!
Just a pure Javascript with JSX syntax.
Code with pure Javascript, components, and JSX!
Features
- Component Based Development
- JSX syntax
- NO complex framework
- NO virtual DOMs! Just use your familiar HTML DOMs!
- No Re-rendering by its framework, easier for developers to understand the behavior
- Less Learning Difficulty than React
- TS support
How the Coding Works
When you code this:
const elem1 = <div id='elem1'>hi!</div>
This will work as:
const elem1 = document.createElement('div')
elem1.id = 'elem1'
elem1.append('hi!')
Installation
You can find more variety of templates. See here for more info.
# in your project folder, run:
npx degit bluejsx/templates/vite-ts # initialize your TS project
npm i
Congrats! Your environment is ready!
To start dev server, run:
npm run dev
To build you project, run:
npm run build
Enabling BlueJSX manually in your vite project
If you want to move your pre-existing vite project into the BlueJSX project, please follow the instruction below:
npm i -D bluejsx vite-with-bluejsx
In your vite.config.js
:
import withBlueJSX from 'vite-with-bluejsx'
export default withBlueJSX({
// your vite settings
})
Document
Please see the document
Roadmap
- BlueJSX processor
- it dynamically appends components
- Vite.js HMR Plugin
- HMR updates the DOM without reloading the whole page during dev
- Experimental
- SSG builder
- it generates
- pre-rendered HTML
- JS files which initializes the components
- ViteJS SSG loader
- it generates
2.0.0-beta.0.0.3
1 year ago
2.0.0-beta.0.0.2
1 year ago
2.0.0-beta.0.0.1
1 year ago
1.3.6
2 years ago
1.3.5
2 years ago
1.3.4
2 years ago
1.3.3
2 years ago
1.3.2
2 years ago
1.3.1
2 years ago
1.2.0
2 years ago
1.2.1
2 years ago
1.1.0
2 years ago
1.0.2
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.1.8
3 years ago
0.1.7
3 years ago
0.1.4
3 years ago
0.1.6
3 years ago
0.1.5
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago