Romanist

Results 40 comments of Romanist

``` const asyncFunctionWithAwait = async (request, sender, sendResponse) => {...} chrome.runtime.onMessage.addListener((request, sender, sendResponse) => { asyncFunctionWithAwait(request, sender, sendResponse) return true }) ``` worked for me

> We'll need to include something like [`preact-ssr-prepass`](https://github.com/sventschui/preact-ssr-prepass) for this to work, this can resolve these promises and load the UI. Any way I can make it work now?

> Hey, I'll move this to `preact-cli` since this seems related Thank you

> The actual error comes from `mini-css-extract-plugin`, but your issues arise from your router. Dynamically importing components by their file path evidently causes some issues. Changing this to a more...

I was just playing with Preact, I'll definitely do refactor my router back. Thank you for your help And how do I fix mini-css plugin error? Can we config Preact...

https://github.com/RomanistHere/RomanistHere.github.io/commit/bd6183b513a55b3e1ad8fd77723a37c86533d769 - I fixed all the issues we've talked above, building keeps failing. How should I fix third-party issues with globals? There was solution I've found for Gatsby for example:...

> ```js > dangerouslySetInnerHTML > ``` It's actually not, was related(and still is) to async routes. I can't figure a way to build async routes with pre-rendering. When I change...

I renamed my page folder to "routes" according to documentation but started to get new error here when build with pre-rendering: ``` ReferenceError: document is not defined method: null at:...

> Can you provide a repo? Not entirely sure what I'm doing with Swiper, but styles seem to be there just fine. All I did was copy/paste the demo found...

Slider is component inside Apps page. Currently I movde styles out of swiper node module into Slider.css if you uncomment [this string](https://github.com/RomanistHere/RomanistHere.github.io/blob/develop/src/components/Slider/Slider.js#L16) and comment [this](https://github.com/RomanistHere/RomanistHere.github.io/blob/develop/src/components/Slider/Slider.js#L18) - development is going to...