roact icon indicating copy to clipboard operation
roact copied to clipboard

Unknown ElementKind "nil" is very hard to trace

Open MagiMaster opened this issue 5 years ago • 2 comments

Even with the typeChecks option on, there still seems to be cases where this failure only happens on mount, at which point the stack trace no longer contains any useful information. Roact has a bit more information it can give at the point the error occurs though (including hostParent and hostKey), which can help narrow things down.

MagiMaster avatar Mar 31 '20 01:03 MagiMaster

That said, I can't verify that hostParent and hostKey are actually pointing at the most useful things at the time it detects the error.

MagiMaster avatar Mar 31 '20 01:03 MagiMaster

I think you should make some projects

Codr12 avatar May 14 '20 06:05 Codr12