• Robert Knight's avatar
    Improve JSX code formatting in dev server · 610cc5eb
    Robert Knight authored
     - Indent children by two spaces
    
     - Handle boolean props closer to how we normally set them in JSX by omitting
       them if false and including them without explicit values if true.
       This assumes that boolean props default to false. If there is a
       scenario in future where this is not the case, this behavior may need
       to be configurable.
    
     - Handle `bigint` numeric values. We have no use case for this, but
       TypeScript pointed out that it wasn't handled.
    
     - Add JSDoc comments
    610cc5eb
Name
Last commit
Last update
..
components Loading commit data...
util Loading commit data...
.eslintrc Loading commit data...
index.js Loading commit data...
router.js Loading commit data...