react-rethinkdb
react-rethinkdb copied to clipboard
Props & State vs. this.data
Is there a reason why props & state aren't used for the QueryResults? It seems to defeat the purpose of React's optimized render.
I was mimicking the API in ParseReact when I went with this.data. But I agree it doesn't feel the cleanest.
It might be cleaner with higher order components like discussed in https://github.com/mikemintz/react-rethinkdb/issues/8 but that has its own downsides. I'm definitely open to any suggestions for a more appropriate model.