Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 28 2018 04:17

    DylanPiercey on v7.0.4

    (compare)

  • Feb 28 2018 04:17

    DylanPiercey on master

    Improve typings. 7.0.4 (compare)

  • Feb 27 2018 07:44

    DylanPiercey on v7.0.3

    (compare)

  • Feb 27 2018 07:44

    DylanPiercey on master

    Add type definitions for tls op… 7.0.3 (compare)

  • Feb 27 2018 05:51

    DylanPiercey on platform-agnostic

    (compare)

  • Feb 27 2018 05:51

    DylanPiercey on file-size

    (compare)

  • Feb 27 2018 05:51

    DylanPiercey on add-code-of-conduct-1

    (compare)

  • Nov 20 2017 03:11

    DylanPiercey on v7.0.2

    (compare)

  • Nov 20 2017 03:11

    DylanPiercey on master

    Update size in readme 7.0.2 (compare)

  • Nov 19 2017 02:31

    DylanPiercey on v7.0.1

    (compare)

  • Nov 19 2017 02:31

    DylanPiercey on master

    * Update example links in readm… 7.0.1 (compare)

  • Nov 18 2017 04:31

    DylanPiercey on master

    * Update changelog. * Release 7… 7.0.0 (compare)

  • Nov 18 2017 04:31

    DylanPiercey on v7.0.0

    (compare)

  • Nov 18 2017 04:00

    DylanPiercey on v7.0.0-rc.12

    (compare)

  • Nov 18 2017 04:00

    DylanPiercey on master

    Remove default of 404 on status… 7.0.0-rc.12 (compare)

  • Nov 12 2017 18:53

    DylanPiercey on master

    * Organize types in namespace. … 7.0.0-rc.11 (compare)

  • Nov 12 2017 18:53

    DylanPiercey on v7.0.0-rc.11

    (compare)

  • Nov 11 2017 18:34

    DylanPiercey on master

    * Switch back to default export… 7.0.0-rc.10 (compare)

  • Nov 11 2017 18:34

    DylanPiercey on v7.0.0-rc.10

    (compare)

  • Oct 24 2017 00:00

    DylanPiercey on v7.0.0-rc.9

    (compare)

Lon Ilesanmi
@lon-io
Nice :clap:
Andrew Smith
@silentworks
I cant seem to find any solid example of using rill on the client
I am trying to set it up with Svelte, but all I can seem to find is server side setups
Dylan Piercey
@DylanPiercey
@silentworks can you point me to the example you are referring too? I don’t believe I have a good svelte example but planning on making a todo-mvc for svelte and Marko soonish. The @rill/svelte middleware is isomorphic though, and if you need any help setting things up I can help you out.
Dylan Piercey
@DylanPiercey
Are you meaning using Rill standalone on the client without server side rendering?
Andrew Smith
@silentworks
@DylanPiercey yes I want to use Rill standalone on the client without server side rendering at the moment, but later I am likely to use the server side rendering also
Dylan Piercey
@DylanPiercey
Then basically you would want to use the svelte middleware without using the @rill/page anywhere. If your having trouble feel free to post what you have setup (build step or otherwise) and I can try to help.
Andrew Smith
@silentworks
The problem I don't even know where to start, the website seem to cover server side rendering much, but not client side
Dylan Piercey
@DylanPiercey
@silentworks if you show me some code snippets to illustrate what you mean I could probably help further.
Yekeen Ajeigbe
@klummy
Hello @DylanPiercey, does Rill has any built in handling for debouncing requests? For example, where a new request cancels the pending/previous request
Dylan Piercey
@DylanPiercey
@klummy it does not currently, however I’m sure this could easily be achieved via middleware. Want to point me to an Express or koa equivalent and I’ll see if I can whip something up?
Dylan Piercey
@DylanPiercey
@klummy you may find the @rill/rate-limit middleware useful though.
Dylan Piercey
@DylanPiercey

Hey @/all. I have been working on improving Rill's documentation. One thing I would love help on is the FAQ section. Please let me know of anything you think belongs there and I will work on extending the list.

Also I am currently working on improving the test coverage for all of Rill's dependencies and switching much of the project to typescript. If you have any feedback that would be great and you can review the changelog here. You can try out the current RC by using npm i rill@next, the official release may take some time.

Yekeen Ajeigbe
@klummy
Thanks @DylanPiercey, I will take a look at rate-limit. Have a great day
Andrew Smith
@silentworks
@DylanPiercey I am getting this error when I try to use the page module TypeError: page.html is not a function
Dylan Piercey
@DylanPiercey
Want to post a code snippet and I’ll see if I can figure it out when I get some time later today?
Andrew Smith
@silentworks
@DylanPiercey are you on Glitch? If yes can I PM you a link so you can go to the code directly
Dylan Piercey
@DylanPiercey
@silentworks I haven’t heard of glitch but if you pm me a link I’ll check it out.
Hafiz Suara
@hafbau
Hi @DylanPiercey could you please point me to an example where Rill has been used with websockets?
Hafiz Suara
@hafbau
Oh, I figured it out!
Dylan Piercey
@DylanPiercey
Glad to hear! Feel free to reach out if you need any further help.
Dylan Piercey
@DylanPiercey
Rill 7.0.0 has been released! Please notify me of any issues and I'll try to resolve ASAP. Should be a non-breaking change for most people though.
Dylan Piercey
@DylanPiercey
@silentworks you may be interested In the new isomorphic svelte todo-mvc app. Sorry for being late, have been busy lately!
Andrew Smith
@silentworks
Thanks @DylanPiercey
Andrew Smith
@silentworks
Is Passport compatible with rill?
Dylan Piercey
@DylanPiercey
@silentworks it could be compatible (if you wanted to make it work you could look at a koa adapter and a Rill adapter would be very similar.). I personally ran into issues with it (not integration with Rill) so liked to manually setup my oauth. I could revisit making a middleware for it though.
Evan Hahn
@EvanHahn
Hi! I maintain Helmet and I found @rill/helmet. Let me know if I can do anything to help there.
Some of the documentation looked a little out of data to me.
Dylan Piercey
@DylanPiercey
@EvanHahn I’ve been trying to keep on top of it, if things are a bit out of date I can look at this later today. If you wouldn’t mind making a PR that would be great though.
Evan Hahn
@EvanHahn
Will do! Is there any documentation other than what's at https://github.com/rill-js/helmet?
Dylan Piercey
@DylanPiercey
Nope, just whats in the readme.
Evan Hahn
@EvanHahn
Made a few PRs!
Evan Hahn
@EvanHahn
I'm gonna hop off of Gitter now but feel free to shoot me an email at me@evanhahn.com or we can discuss things on the PRs.
:wave:
Dylan Piercey
@DylanPiercey
Awesome, thanks for doing that! Everything looks fine, i’ll create a release later today :).
Lon Ilesanmi
@lon-io
Hi @DylanPiercey, I discovered that return res.redirect(...) does not work when called within within a call to setTimeout
Is there a way to go around this?
Lon Ilesanmi
@lon-io
Nvm @DylanPiercey I was able to work around it by following this:
https://stackoverflow.com/a/24929146/4931825
Dylan Piercey
@DylanPiercey
Nice, feel free to post a code snippet and I can help you out further if needed.
Lon Ilesanmi
@lon-io
Sure, something like this:
return new Promise((resolve) => {
            setTimeout(() => {
                return resolve(res.redirect('/'));
            }, 3000);
        });