An open API service indexing awesome lists of open source software.

https://github.com/kennethkalmer/re-frame-semantic-ui-react-github-widget

Using semantic-ui-react with re-frame - sample project
https://github.com/kennethkalmer/re-frame-semantic-ui-react-github-widget

clojurescript re-frame reagent semantic-ui-react

Last synced: 1 day ago
JSON representation

Using semantic-ui-react with re-frame - sample project

Awesome Lists containing this project

README

        

# re-frame-semantic-ui-react-github-widget

A [re-frame](https://github.com/Day8/re-frame) application designed to show how to use [semantic-ui-react](http://react.semantic-ui.com/) from [cljsjs](http://cljsjs.github.io).

The interesting parts are in `src/cljs/views.cljs`.

## Development Mode

### Start Cider from Emacs:

Put this in your Emacs config file:

```
(setq cider-cljs-lein-repl "(do (use 'figwheel-sidecar.repl-api) (start-figwheel!) (cljs-repl))")
```

Navigate to a clojurescript file and start a figwheel REPL with `cider-jack-in-clojurescript` or (`C-c M-J`)

### Run application:

```
lein clean
lein figwheel dev
```

Figwheel will automatically push cljs changes to the browser.

Wait a bit, then browse to [http://localhost:3449](http://localhost:3449).

## Production Build

To compile clojurescript to javascript:

```
lein clean
lein cljsbuild once min
```