![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
JynXS is a lightweight, ~3KB JSX runtime that implements the very basics of a modern UI library without relying on React.
This project is very experimental and a proof of concept. Not recommended for production use.
fallback
. It means you don't need to wrap your components in Suspense
.useState
for state managementuseEffect
for side effectsref
as prop, to access DOM elementsclass
and className
, and integrate with clsx
, so arrays and conditional classes are supported.useGlobalState
hook to manage and subscribe to global state in a very simple wayaction
: (data: FormData) => Promise<void>
cache()
to avoid expensive tasks on re-rendersWe won't add support for more complex features like advanced context, portals, style objects, custom hooks, etc.
Install the package with any package manager:
pnpm add jynxs
# or
npm install jynxs
# or
bun add jynxs
Configure your tsconfig.json
to use the JynXS runtime:
{
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "jynxs"
}
}
Configure your Vite project to transpile JSX with esbuild:
// vite.config.ts
import { defineConfig } from 'vite'
export default defineConfig({
// ...
esbuild: {
jsxFactory: 'jsx',
jsxFragment: 'Fragment',
},
// ...
})
That's it!
An example of how to use the JynXS runtime can be found in src/example.tsx
.
This file demonstrates the usage of functional components, async components, state management, effects, and event handling.
To create a production build:
pnpm build
No Babel or Webpack needed to transpile the JSX, esbuild is used instead.
FAQs
Lightweight React-like JSX runtime with the basics.
The npm package jynxs receives a total of 5 weekly downloads. As such, jynxs popularity was classified as not popular.
We found that jynxs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.