package dream-inertia
Inertia protocol for OCaml Dream
Install
Dune Dependency
Authors
Maintainers
Sources
dream-inertia-0.0.1.tbz
sha256=f06fdf957a9719fc7b1a1263337fab8370390cd6b0046fc706d4479824611e89
sha512=52248f1c428fdc21404748167303dbf64bc972ae4b133f1be4551972ca60b2f31c78577d9d47d587c604fc8bb0bc460d71ab2af309e5593ee02c1278fb226e3b
Description
Server side implementation of the Inertia protocol for OCaml Dream web framework
README
dream-inertia
Description
This is a OCaml implementation of the Inertia protocol for the Dream web framework. It allows you to build single-page applications (SPAs) using Inertia.js and OCaml.
Features
- Support for client-side rendering (CSR)
- Support for shared data
- Support for merged props
- Support for always and optional props
- Support for CSRF token
- Support for history encryption
Installation
To install the package, use OPAM:
opam install dream-inertia
Alternatively, you can use nix to install the package.
Documentation
The documentation is available at https://naora.github.io/dream-inertia/dream-inertia/Dream_inertia/index.html.
License
This project is licensed under the MIT License. See the LICENSE file for details.
TODO
- Support for Inertia.js
- Support for Dream web framework
- Support for OCaml
- Support for server-side rendering (SSR)
- Support for client-side rendering (CSR)
- Support for shared data
- Support for location method
- Support for merged props
- Support for always props
- Support for optional props
- Support for CSRF token
- Support for history encryption
- Support for SSR
- Support for error validation on backend side
Dev Dependencies (3)
-
odoc
with-doc
-
lwt_ppx
with-test
-
ocamlformat
with-dev-setup
Used by
None
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page