src/components/ReactLiquid.js
/**
     * Parses and renders the liquid template with the specified data.
     */
Parses and renders the liquid template with the specified data.
Parses and renders the liquid template with the specified data .
async parseAndRender() {
        const { template, data, liquidEngine } = this.props
        const compiledRender = await liquidEngine.parseAndRender(template, data)
        this.setState({ compiledRender, template, data, needsRender: false })
    }
async parseAndRender ( ) { const { template , data , liquidEngine } = this . props const compiledRender = await liquidEngine . parseAndRender ( template , data ) this . setState ( { compiledRender , template , data , needsRender : false } ) }
Parses and renders the liquid template with the specified data.
Parses and renders the liquid template with the specified data .