packages/fela-dom/src/dom/rehydrate.js
Function rehydrate
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function rehydrate(renderer, targetDocument = document) {
render(renderer, targetDocument)
arrayEach(targetDocument.querySelectorAll('[data-fela-type]'), (node) => {
const rehydrationAttribute =