-
I have been searching for the equivalent of useLocation for Preact but couldn't find any, is there one?
-
Hey, I just wanted to clue you in on the fact that preact-router doesn't really work when server rendering. I've been looking around for how to do it, and it doesn't seem like it's supported. You'll n…
-
### 相关平台
微信小程序
**小程序基础库: latest**
**使用框架: Preact**
### 复现步骤
```
TypeError: n2.contains is not a function
```
是由于 preact 一个 commit 引起的,见 https://github.com/preactjs/preact/pull/4421…
towry updated
3 weeks ago
-
I'm trying to setup an isomorphic preact app, that uses preact-router.
I'm new to preact, but I've worked with react, and react-router before.
I'm trying to replicate with preact, and preact-rou…
-
First I would like to note: PREACT is fantastic, that is why we have put forth great effort to continue using it.
Our app is now lightning fast due to the great work at PREACT, PREACT-REDUX and th…
-
Using `` before `` will try to match non-hash history so the `` component must be rendered before using match.
Also `` activeClassName is affected
Repository https://github.com/sebasjm/preact-ro…
-
TL;DR
I get a build error when I added some static JS/CSS to my public folder, namely Leaflet.js.
I created a barebones repo to demonstrate at https://github.com/bdombro/tmp-preact-snowpack-barebo…
-
When I redirect to a specific route like `route('/')` it doesn´t trigger the `onChange` prop of the `Router` component. Here´s my code:
```javascript
import { h, Component } from 'preact';
import…
sydev updated
7 months ago
-
I wanted to follow up on some of the discussion on lazy route loading. Right now, the [preact-async-route package is deprecated](https://github.com/prateekbh/preact-async-route#deprecation-notice), sa…
-
**Is your feature request related to a problem? Please describe.**
I want to switch to preact-iso's router but find it's very cumbersome to get a hold of its `route()` function in class components …