Patternfly-react: PF4 Dropdown does not hot reload in the workspace

Created on 11 Sep 2018  路  1Comment  路  Source: patternfly/patternfly-react

Currently, modifications made to any of the Dropdown components and subcomponents are not being hot loaded into the workspace. For instance, I modified the return value of DropdownItem.js with an extra <div>

   return (
    <Component
      {...aditionalProps}
      className={css(isDisabled && styles.modifiers.disabled, isHovered && styles.modifiers.hover, className)}
      role={role}
    >
      <React.Fragment>
        {children}
        <div>hello</div>
      </React.Fragment>
    </Component>
  );

I cannot see these changes in the workspace UI without having to stop my development server and totally rebuilding the project.

@karelhala, ping :)

PF4

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings