Code Monkey home page Code Monkey logo

redact.js's Introduction

Your users deserve great performance

Modern web development is all about performance and giving users a native-like experience. Any delay is fatal and people will stop using your app and move to a native alternative instead. You can not afford this, as your very own livelihood is at stake. With every millisecond your end users wait or are delayed you are one step closer to living on the street and having to wrestle racoons for food. Let's face it, this is not good.

Luckily enough, JavaScript and modern development tooling and practices give us the chance to counteract this problem and save you from a life on the street.

Redact.js to the rescue

Redact Logo

Redact.js is an opionated micro-framework that rocket-boosts your apps. Simply by including it on the bottom of your HTML solutions (or use Jade, like real developers do) you can save hundreds of milliseconds and avoid any jank or dropped frames.

Simply by avoiding the rendering of the HTML, you can achieve incredible performance benefits that are measureable in our developer tools.

Redact.js is a fool-proof way to achieve buttery-smooth 60 FPS! It works 90% of the time all the time!

<!doctype html>
<html lang="en">
<head></head>
<body><script src="redact.min.js"></script>
</body>
</html>

Proven performance optimisation without any effort using Redact.js

A quick analysis using the Chrome Timeline tool shows you how Redact.js turns a badly performing image carousel full of unneccesary progressive enhancement and using jank-inducing drop shadows and absolute positioning into a lightning-fast experience that is a magical moment for all your users, regardless of platform or device. iPhone 5 users should get almost the same performance than iPhone 6 users, and let's be fair, they should upgrade anyways.

| Without Redact.js| With Redact.js| | ------------- |:-------------:| -----:| | performance without redact|performance with redact|

As you can see, in the same amount of time heavy user interaction on the Redact.js-enhanced app there was roughly 1/8th of the rendering time and a whopping 1/100th in Paint performance.

These numbers don't lie! Do yourself a favour and use Redact.js now!

Redact.js is open source and on GitHub

  • It is opinionated and uses gulp
  • It is maintained by a single developer and not designed by committee
  • It uses modern JavaScript and doesn't work in OldIE
  • It is only 83 bytes big minified!
  • It works cross-browser and could work with Phantom.js or other DOM renderers

The best thing? Redact.js is free an open source and on GitHub. Licensed under GNU.

redact.js's People

Contributors

codepo8 avatar richgilbank avatar

Watchers

David Teller avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.