Coder Social home page Coder Social logo

re-frame-cookie-fx's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

re-frame-cookie-fx's Issues

goog.net.cookies.set signature changed

The goog.net.cookies.set function now takes 3 parameters, and the 3rd is an options map: https://github.com/google/closure-library/blob/master/closure/goog/net/cookies.js#L167

This line of re-frame-cookie-fx silently ignores max-age, path, domain and secure options:

(.set goog.net.cookies sname value max-age path domain secure)

reagent-utils checks the number of arguments before deciding how to pass it parameters: https://github.com/reagent-project/reagent-utils/blob/30947c452ed12ef68dd6e235634d108cc9e7f841/src/reagent/cookies.cljs#L7

Missing docs in readme

Thank you for putting together this nice set of re-frame extensions; much appreciated!

A couple of points are missing in your current README.md

  1. Using your latest version requires using a very recent cljs, due to the dependency on cljs.spec.alpha
  2. The example use of cookie/set does not work as is. The doc does not mention the need to define :cookie-set-no-on-success/failure or supply :on-success/failure.

If you are amenable to PRs, I can volunteer some text for these two points. But, note that your CONTRIBUTING.md does not match the project, which currently lacks a develop branch.

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.