smx-ltd / re-frame-cookie-fx Goto Github PK
View Code? Open in Web Editor NEWOm nom nom nom.
Om nom nom nom.
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:
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
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
cljs.spec.alpha
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.