I’m experiencing a critical bug with forked native components in the WeWeb editor.
THE ISSUE
When I fork a native component (in my case, the AG Grid Datagrid), the forked version causes layout breaks in the editor, while the original native component works perfectly.
STEPS TO REPRODUCE
Fork the native Datagrid component
Add the forked component to a page in the editor
Delete the forked component OR close a popup containing it
Result: Editor layout breaks/explodes (requires page reload to fix)
KEY OBSERVATIONS
Bug only occurs in EDITOR mode (not in staging or production)
Bug happens even with ZERO code modifications after forking
Native component (non-forked) works fine - no layout issues
Seems related to component destruction/unmounting in the editor
WORKAROUNDS TESTED
I’ve tried several fixes:
Added onBeforeUnmount cleanup → didn’t help
Added editor mode guards → didn’t help
Reverted all code changes → bug still persists
This confirms the issue is with WeWeb’s fork system, not the component code itself.
ENVIRONMENT
Browser: Chrome (macOS)
Component: AG Grid Datagrid (likely affects all complex native components)
IMPACT
This prevents customizing native components through forking, which significantly limits extensibility.
UPDATE: I just checked in with the team and we have an open ticket to fix this issue. At this stage however, we don’t have an ETA for the fix because it’s a larger issue with the forking feature that requires deeper investigation.
PROPOSED WORKAROUND: In the meantime, one trick that seems to be working well is to use Cursor to create the coded component and import it into WeWeb. Here’s a tutorial on how to do that in case you’re interested: https://youtu.be/1A8wdH5Sb0o
Thank you kindly for your answer. I will dive into Cursor, but the Datagrid is already very interesting as it is, so I don’t really want to mimic it.
Cheers
F
Yes, exactly We have an issue with the fork feature inside the editor at the moment, but you should still be able to import coded components from GitHub.