Armando Magalhães
Armando Magalhães
You can create a Higher Order Function for that. ```js const { send } = require('micro') const { router, get } = require('microrouter') const auth = require('../auth-from-somewhere'); const withAuth =...
I'm also having this same issue. It's pretty annoying, usually the only thing that helps me fix this is closing chrome and reopening it. This seems to also affect popups...
/assign @erkolson
the error still happens in clasp 2.3.0
is this issue needing some help to get done?
I got it working using this as my Stage instead: ```js import {forwardRef, useEffect, useLayoutEffect, useRef} from "react"; import ReactFiberReconciler from 'react-reconciler'; import {useIsomorphicLayoutEffect} from "react-use"; import canvas from 'canvas';...
@benadam11 you're welcome! glad to help :smile: Here is a cleaner version of the component above, with less duplication and suppressing the mismatch message that gets triggered on the browser...
@lavrton Indeed I haven't tested images but is a need I'll have as well, I'll give it a try. I'm not sure what do you mean by support for "hooks...
@lavrton got it, thanks for explaining. Often CSS in JS libraries offer a function to collect stylesheets so you can inject in the style provider later. This is often done...
@lavrton indeed the useImage hook breaks on the server, not only because of the useEffect but also because it depends on the `document` global. I'm going to make a custom...