I can’t find it, but I thought I remembered seeing in the documentation, Github issues, or community a discussion around the required exports from a Cell just being QUERY and Success, and that if the other states weren’t defined then Success would be rendered (without data). I just created a Cell that I don’t want to have a loading state, but when I delete the Loading export I get a client error. The same thing happens if I delete Failure or Empty.
Am I misremembering? Are all 4 lifecycle functions required?
Interesting - I just tested and I can also delete my Loading/Failure/Empty functions and it works as expected. What I cannot do is comment them out, which is what I was doing earlier. That causes the errors I was seeing.
Is there some parser that’s just looking for those strings in the file, regardless of whether they’re commented out?