New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fractal-framework

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fractal-framework

A minimalist and powerful framework for building applications and interactive content

  • 0.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-41.67%
Maintainers
1
Weekly downloads
 
Created
Source

codecov Build Status

Build your ideas as simple as possible. Fractal is an intuitive framework for building applications and interactive content.

Why?

  • It is minimal, core logic are less than 400 lines of code and you can see how it works
  • Easy integrable and emmbedable by design
  • A clear and flexible architecture that scales
  • Its clear and concise, all you application code are pure functions. Your app code has NO side effects
  • Gives you powerful patterns and composing tools that helps to build small and large apps
  • Your code are flexible, composable and reausable. Modularization as a foundation
  • The state is isolated, this mean is serializable and you can hot-swap code updating the UI without reload the navigator
  • You can serialize the whole side effects, this means you can run fractal in a webworker, in a server via websockets or even in a remote browser via WebRTC :')
  • High code quality, we love that!! and help you to achive it in your proyect <3
  • Lazy loading of components

See the design document. In order to be scalable, Fractal is implemented using Typescript

Getting started

The recomended way is using webpack, please download the Fractal-quickstart repo (Comming soon...).

Or in nodejs, browserify, webpack like environments:

npm i --save fractal-framework

Run the examples

There are many useful examples at examples folder. Be sure that you have installed Node.js, please download Fractal source and extract them.

The examples you can run are:

  • simple
  • compose
  • mori: Fractal using mori.js for persistent data structures (PDS)
  • worker
  • testForm

Open a command window into Fractal folder and run:

npm i
npm run dev ./examples/NAME_OF_EXAMPLE

for example:

npm run dev ./examples/compose

Run tests

Our rule is to have 100% of coverage, right now all core features are covered

// once
npm test
// dev server
npm run test:watch

Design

Curious about how it works? see Design Documentation before reading source code :)

Development

See our Development Documentation

FAQs

Package last updated on 14 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc