How to use the preact-router.subscribers.push function in preact-router

To help you get started, we’ve selected a few preact-router examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github preactjs / preact-router / src / match.js View on Github external
componentDidMount() {
		subscribers.push(this.update);
	}
	componentWillUnmount() {

preact-router

Connect your components up to that address bar.

MIT
Latest version published 10 months ago

Package Health Score

77 / 100
Full package analysis