profile
viewpoint
Gianluca Guarini GianlucaGuarini @dreipol - @riot Zürich - Switzerland https://twitter.com/gianlucaguarini

GianlucaGuarini/allora 686

Promisify using es6 Proxies every javascript API with less than 50 lines of code

GianlucaGuarini/animore 69

1kb script that will make your DOM state transitions smoother & easier

GianlucaGuarini/cmt 18

Get rid of all the boring git commit messages like 'small fix'. cmt is an automatic git commit generator

biancojs/bianco 13

Bianco is a modern DOM helpers micro library built only for modern browsers

dreipol/storybook-figma-addon 11

Storybook figma addon for private projects

dreipol/emoji-translator 5

Simple javascript helper to translate emojis to plain text providing your custom dictionary

biancojs/events 4

Modern DOM events helpers written in es2015

dreipol/chaestli 4

Yet another flexbox grid system

dreipol/looppa 3

Simple functional script to loop arrays, numbers, strings, objects, Map and Set

GianlucaGuarini/Caronte.js 3

Simple javascript ajax file uploader script made for the modern browsers

startedGianlucaGuarini/Vague.js

started time in 6 hours

startednextauthjs/next-auth

started time in 10 hours

push eventdreipol/vue-ui

jessicachrist

commit sha 87c0e9f8d037dc7ccd248f26a9c6acd16aeda0bc

[implement-swiper] Add test

view details

jessicachrist

commit sha 95f89426e4230d29f94f653e8345a60acad79490

[implement-swiper] Add swiper events

view details

push time in 3 days

startedOpenCombine/OpenCombine

started time in 4 days

push eventdreipol/linkit

Sidney Widmer

commit sha 18a254efcda1560fcd7b0b9ade39466d6917f73d

Django 3.0 compatibility

view details

push time in 4 days

startedWebReflection/discussions

started time in 4 days

created repositoryWebReflection/discussions

A repository to discuss any of my library

created time in 4 days

startedatlassian/react-beautiful-dnd

started time in 4 days

startedNorserium/react-indiana-drag-scroll

started time in 4 days

startedqiaolb/react-dragscroll

started time in 4 days

issue commentriot/riot

Define props and state with TypeScript

Oh nice, that's what I looking for! Thanks again! :) Yeah I know, this is Riot.js repo. I will write there.

daarxwalker

comment created time in 5 days

issue commentriot/riot

Define props and state with TypeScript

Hi! Thanks for very fast response. I just want to define props, maybe would be cool add some example to docs. I read this test before, but it doesn't tell me how can I implement this logic to component file. You know, like Vue 3 have func defineComponent<Props>, which wrap component setup, etc... Autocomplete it's problem of IDE plugin, that's not what I asked for. Maybe it's all already possible and plugin knows it too, but there's no examples in docs. Thanks again in advance!

Screenshot from 2021-01-13 11-16-47

daarxwalker

comment created time in 5 days

issue commentriot/riot

Wrong <template each={...}> output after updating the state couple of times

key has strange behavior in some other situations: https://jsfiddle.net/cjndb261/1/ https://jsfiddle.net/cjndb261/3/

Try to click trigger more than once.

brabiega

comment created time in 5 days

issue openedriot/riot

Define props and state with TypeScript

  1. Describe your issue: Just question. How can I define props and state with TypeScript? Using WebStorm and I want to have autocomplete when using component or inside the component, like in Angular or React for example, so I need to type these things somehow. Thanks :)

  2. Can you reproduce the issue? No issue

  3. On which browser/OS does the issue appear? Chromium / Pop OS

  4. Which version of Riot does it affect? 5.1.2

  5. How would you tag this issue?

  • [ x ] Question
  • [ ] Bug
  • [ ] Discussion
  • [ ] Feature request
  • [ ] Tip
  • [ ] Enhancement
  • [ ] Performance

created time in 5 days

startedswarmpit/swarmpit

started time in 6 days

issue commentriot/riot

Wrong <template each={...}> output after updating the state couple of times

I'm not sure this depend entirely on key. I'm pretty sure I had this weird behavior without key but with different state content.

brabiega

comment created time in 6 days

issue openedriot/riot

Wrong <template each={...}> output after updating the state couple of times

Help us to manage our issues by answering the following:

  1. Describe your issue: See the jsfiddle below. The output of script should be
a
1
b
1
c
1

While it is

a
1
c
1

It has something to do with component updating - nested each seems relevant to trigger it.

  1. Can you reproduce the issue? https://jsfiddle.net/f9d01mk3/1/

  2. On which browser/OS does the issue appear? Linux/Firefox 84.0.2 (64-bit)

  3. Which version of Riot does it affect? 5.x - tested with stand alone compiler and in browser compiler

  4. How would you tag this issue?

  • [ ] Question
  • [x] Bug
  • [ ] Discussion
  • [ ] Feature request
  • [ ] Tip
  • [ ] Enhancement
  • [ ] Performance

created time in 7 days

startedGianlucaGuarini/Tocca.js

started time in 7 days

startedcontra/react-responsive

started time in 7 days

issue openedriot/cli

Error when trying to watch dir of riot files

riot --version
5.0.0

Here is what I'm trying to do

riot -e riot  -o js/components/ --watch riot

Now the output

Watching... riot/jobview.riot
Unknown input options: sourcemap, riot. Allowed options: acorn, acornInjectPlugins, cache, context, experimentalCacheExpiry, external, inlineDynamicImports, input, manualChunks, moduleContext, onwarn, perf, plugins, preserveEntrySignatures, preserveModules, preserveSymlinks, shimMissingExports, strictDeprecations, treeshake, watch

created time in 8 days

PublicEvent

startedWebReflection/sqlite-worker

started time in 9 days

startedschellingb/dosbox-pure

started time in 10 days

startedGianlucaGuarini/Tocca.js

started time in 10 days

startedGianlucaGuarini/Tocca.js

started time in 11 days

Pull request review commentdreipol/vue-ui

Feature/implement swiper

 </template>  <script>-    import Swiper from 'swiper';+    import Swiper, { Pagination, Lazy } from 'swiper'+    import SwiperSlides from './swiper-slides'

@GianlucaGuarini When running tests I get following error:

ERROR in ./src/components/swiper/swiper.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/components/swiper/swiper.vue?vue&type=script&lang=js&) Module not found: Error: Can't resolve './swiper-slides' in '/Users/jessicachrist/Documents/Repositories/vue-ui/src/components/swiper' @ ./src/components/swiper/swiper.vue?vue&type=script&lang=js& (./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/components/swiper/swiper.vue?vue&type=script&lang=js&) 36:0-43 53:18-30 @ ./src/components/swiper/swiper.vue?vue&type=script&lang=js& @ ./src/components/swiper/swiper.vue @ ./src/components/swiper/swiper.spec.js

Unfortunately I haven't been able to figure out a solution yet

jessicachrist

comment created time in 11 days

push eventdreipol/vue-ui

jessicachrist

commit sha 27222a1bd8864986eae1e64a7f425b41aabb141b

[implement-swiper] Refactorings (WIP)

view details

push time in 11 days

startedsegmentio/pg-escape

started time in 11 days

startedtsayen/dom-to-image

started time in 12 days

more