reka.js icon indicating copy to clipboard operation
reka.js copied to clipboard

Support Linked Nodes

Open prevwong opened this issue 6 months ago • 0 comments

In Craft.js, there's a concept of Linked Nodes. Essentially, it's a way for React components to reference another user-editable Node within a React component.

import * as React from 'react';
import { Element } from '@craftjs/core';

export const App = () => {
  return (
    <div class="">
        <Element id="..." is={Container}>...</Element>
    </div>
  )
}

prevwong avatar Dec 25 '23 16:12 prevwong