App Router with Blocks
Is it possible to use the App Router with Blocks?
I have tried but so far it has not worked well for me
Hey @Bowriverstudio thank you for the suggestion. It's true that currently there are some issues using App Router with Blocks.
There is an RFC that needs to be ironed out a bit that proposes converting all the blocks into RSC components, but it will take some effort to implement:
https://github.com/wpengine/faustjs/issues/1619
Any news about this feature?
@eurusik
At this current time Faust doesn't support Aoo Router and has since been deprecated. See - https://github.com/wpengine/faustjs/tree/archive-experimental-app-router/packages/experimental-app-router#faustwpexperimental-app-router
This package has been deprecated due to lack of Apollo support for React Server Components and Next's App Router. The team is working on [tooling to replace Faust](https://github.com/wpengine/hwptoolkit) and this will include App Router support. You may continue to use this package though it will not receive any further bug fixes or security patches. If you need bug fixes or security updates we'd recommend copying the source code of this package directly into your project for use or use a tool such as [patch-package](https://www.npmjs.com/package/patch-package).
However if you are looking for examples outside of Faust with the app router and blocks, we did some experimenting in an example here - https://github.com/wpengine/hwptoolkit/tree/main/examples/next/render-blocks-pages-router