John Dewey thought that children WOULD learn better through participating in experiences.
If you say "thought" you MUST use the one-tense-back-rule.
Othewise:
John Dewey was of the opinion that children will learn better through participating in experiences.