preact-router icon indicating copy to clipboard operation
preact-router copied to clipboard

Lazy loading with react lazy instead of preact-async-route

Open jose-donato opened this issue 5 years ago • 3 comments

Updated README.md to perform lazy loading with react lazy function (with examples) instead of the deprecated package preact-async-route.

jose-donato avatar Jun 14 '20 21:06 jose-donato

I don't think preact-cli is using AsyncRoute? (perhaps the recommended "code snippet" could copy from preact-cli)

bestwestern avatar Jul 30 '20 08:07 bestwestern

Is preact-async-route still the recommended way to do it?

bestwestern avatar Oct 14 '20 09:10 bestwestern

Is preact-async-route still the recommended way to do it?

Wonder the same thing...

wahidshafique avatar Jan 27 '21 14:01 wahidshafique