1. /**
    
  2.  * Copyright (c) Meta Platforms, Inc. and affiliates.
    
  3.  *
    
  4.  * This source code is licensed under the MIT license found in the
    
  5.  * LICENSE file in the root directory of this source tree.
    
  6.  *
    
  7.  * @flow
    
  8.  */
    
  9. 
    
  10. import React, {useState} from 'react';
    
  11. 
    
  12. // ?sourceMappingURL=([^\s'"]+)/gm
    
  13. 
    
  14. const abc = 'abc';
    
  15. const string =
    
  16.   'sourceMappingURL=data:application/json;charset=utf-8;base64,' + abc;
    
  17. 
    
  18. export function Component() {
    
  19.   const [count, setCount] = useState(0);
    
  20. 
    
  21.   return (
    
  22.     <div>
    
  23.       <p>You clicked {count} times</p>
    
  24.       <div>string: {string}</div>
    
  25.       <button onClick={() => setCount(count + 1)}>Click me</button>
    
  26.     </div>
    
  27.   );
    
  28. }