• Stars
    star
    1,543
  • Rank 30,320 (Top 0.6 %)
  • Language
    Clojure
  • License
    MIT License
  • Created over 7 years ago
  • Updated 29 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A library for development of single-page full-stack web applications in clj/cljs

logo

fulcro CircleCI

Fulcro is a library for building data-driven full-stack applications for the web, native, and desktop (via electron). It uses React and is written in Clojure and Clojurescript.

React 18 finally made changes that required some (minor) breaking changes to Fulcro. The support for async rendering in version 18 meant that we could no longer rely on dynamic vars in the internals (React 15 had no other way to do it).

As a result, some (hopefully never or rarely-used) features are deprecated or slightly modified:

  • The dynamic vars *app*, *parent*, *shared*, *depth*, and *blindly-render?* should not be used. An attempt was made to make most of them continue to work.

  • The 0-arity version of comp/current-state is no longer available. Pass this to it instead.

  • The 0-arity version of comp/shared is no longer available. Pass this or app to it instead.

  • Custom renderers (if you wrote one yourself) MUST now set a React context. See keyframe-renderer for details.

  • *query-state* still exists, but is for internal use only, and cannot be trusted within render. Pass app state to calls to get-query if you’re using dynamic queries.

Using full React 18 requires that you wrap your app with a version helper:

(ns example.app
    (:require
      [com.fulcrologic.fulcro.react.version18 :refer [with-react18]]
      [com.fulcrologic.fulcro.application :as app]
      ...)

(def app (with-react18 (app/fulcro-app {})))

The documentation for this version is in the Developer’s Guide. If you’re using Fulcro 2, you can still read the prior version of the guide.

There is also a template project which you can use as a starting point.

Finally, there is a plenty of great resources collected at the Fulcro Community site.

For learning more about how to contribute to the Fulcro project, please refer CONTRIBUTING.md

Fulcro is:

Copyright (c) 2017-2022, Fulcrologic, LLC The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

guardrails

Efficient, hassle-free function call validation with a concise inline syntax for clojure.spec and Malli
Clojure
236
star
2

fulcro-rad

Fulcro Rapid Application Development
Clojure
200
star
3

statecharts

A Statechart library for CLJ(S)
Clojure
93
star
4

fulcro-template

A sample project that could be used as a starting point for a Fulcro 3 project.
Clojure
93
star
5

fulcro-rad-demo

A demo for Fulcro RAD using either SQL or Datomic databases.
Clojure
67
star
6

fulcro-inspect

A tool for inspecting and debugging Fulcro applications during development.
Clojure
66
star
7

fulcro-spec

A library that wraps clojure.test for a better BDD testing experience.
Clojure
43
star
8

fulcro-native

A small library of helpers for using React Native with Fulcro
Clojure
27
star
9

fulcro-developer-guide

Fulcro 3 Developer's Guide. (See root of older fulcro repository for version 2)
HTML
24
star
10

fulcro-rad-semantic-ui

Semantic UI Rendering Plugin for RAD
Clojure
23
star
11

datomic-cloud-backup

A library for creating and restoring backups of databases in Datomic Cloud
Clojure
22
star
12

semantic-ui-wrapper

Fulcro 3 wrappers of React Semantic UI Controls
Clojure
22
star
13

fulcro-native-template

A sample template with a server, web, and native app.
Clojure
20
star
14

video-series

Repository with files from the YouTube Video series
Clojure
20
star
15

fulcro-garden-css

Garden CSS co-location on Fulcro (3+) Components
Clojure
16
star
16

fulcro-rad-datomic

Datomic database support plugin for Fulcro RAD
Clojure
14
star
17

fulcro-websockets

A Pluggable Remote for Fulcro 3 that uses Websockets
Clojure
12
star
18

fulcro-i18n

Internationalization Support For Fulcro
Clojure
7
star
19

grokking-fulcro

A repository containing projects that were used in making the videos for Grokking Fulcro.
Clojure
7
star
20

fulcro-rad-template

A template for starting new Fulcro projects, that includes RAD.
Clojure
7
star
21

fulcro-rad-kvstore

A RAD database adapter that is generalized to work with key-value databases
Clojure
6
star
22

fulcro-rad-tutorial

Files that go with YouTube videos for RAD
Clojure
5
star
23

fulcro-rad-sql

SQL Plugin for Fulcro RAD
Clojure
4
star
24

copilot

Discussions and Issue Tracking for Copilot
2
star
25

aws-logs

A bare-bones library for watching AWS logs (like saw, but Clojure)
Clojure
1
star
26

deep-tree-optimization-demo

A demo of using various tricks to optimize a very large tree of data/components
Clojure
1
star