Check out example codes for "postgres jsonb array push new element". It will help you in understanding the concepts better.

Code Example 1

UPDATE jsontesting
SET jsondata = jsondata || '["newString"]'::jsonb
WHERE id = 7;

Learn ReactJs, React Native from akashmittal.com