Faust.js™ - The Headless WordPress Framework
OTHER License
Bot releases are visible (Hide)
Published by github-actions[bot] 7 months ago
plugins
or experimentalPlugins
propertiesqueries
property to FaustTemplate interface. Fixes an error when using multiple queries with TypeScript.Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 8 months ago
experimentalPlugins
in favor of plugins
in the Faust config file faust.config.js
. We recommend moving over to using plugins
instead of experimentalPlugins
as soon as possible as a future version will remove the experimental config option.Published by github-actions[bot] 8 months ago
NEXT_PUBLIC_WORDPRESS_URL
is a wpengine.com
TLD and if so recommend a switch to wpenginepowered.com
Published by github-actions[bot] 8 months ago
sameSite
property on the refresh token cookie from strict
to lax
for requests originating from WordPress.Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 8 months ago
Published by github-actions[bot] 8 months ago
attributes
field on core blocks optional to comply with the WordPressBlock
type interface. Thanks @traed!Published by github-actions[bot] 9 months ago
Published by github-actions[bot] 9 months ago
Published by github-actions[bot] 9 months ago
Published by github-actions[bot] 9 months ago
Published by github-actions[bot] 9 months ago
Published by github-actions[bot] 9 months ago
Published by github-actions[bot] 9 months ago
skip
config option to useAuth
to conditionally invoke the hook@faustwp/[email protected]
Published by github-actions[bot] 9 months ago
Published by github-actions[bot] 9 months ago
c79c8c2: Added the ability to provide multiple queries to a given Faust Template:
import {GET_POST, GET_LAYOUT} from './queries.js'
export default function Component(props) {
}
Component.queries = [
{
query: GET_LAYOUT
},
{
query: GET_POST,
variables: (seedNode, ctx) {
return {
id: seedNode.databaseId,
asPreview: ctx?.asPreview
}
}
}
]
Note: Your Faust template can use either Component.queries
or Component.query
, but not both.