それで、constructorでnullとかにしておいてrender時state || propsにすればええやんとおもったんだけど、新しくpropsが渡ってきたときに前のstateが残ったままでstateが使われてしまう
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.