Skip to content

pink-gorilla/ui-bidi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ui-bidi GitHub Actions status |pink-gorilla/ui-bidiClojars Project

End Users this project is not for you.

A simple front-end page-router using bidi + pushy.

Bidi Routing

Bidi has important benefits:

  • It is isomorphic (clj and cljs) (forget compojure AND secretary)
  • It has a clear separation of concerns with handlers (both for clj (ring-handler) and cljs (pushy)
  • It is bi-directional; this allows making links!
  • It does not use macros, this means routes can be easily tested, transformed, sent between client-server, stored, modified.
  • No linting errors due to macros.
  • Easy testing of route definitions, and handler results (including wrapping routes)

Demo

in demo directory:

clj -X:webly:npm-install
clj -X:webly:compile
clj -X:webly:run


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published