@neevjs/client
v1.0.1-beta
Published
NeevJS core React framework — plugin-driven, offline-first, built for business apps
Maintainers
Readme
@neevjs/client
NeevJS core React framework — plugin-driven, offline-first, built for business apps.
Install
npm install @neevjs/clientUsage
import { createClient, NeevProvider, useModel, AuthPlugin } from '@neevjs/client'
const client = createClient({ baseURL: '/api' })
client.use(AuthPlugin)
function App() {
return (
<NeevProvider client={client}>
<YourApp />
</NeevProvider>
)
}
function YourApp() {
const { data, loading, create, remove } = useModel('users')
// data, CRUD — all in one hook
}Docs
Full documentation at Rahul7raj.github.io/neevjs
License
MIT — Rahul Raj Kushwaha
